mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 19:46:46 +00:00
parent
dcf0bb103e
commit
b42edbf2ab
@ -56,7 +56,7 @@ export default function Scan() {
|
|||||||
// Prevent duplicates
|
// Prevent duplicates
|
||||||
if (history.find((i) => i.model == item.model && i.pk == item.pk)) {
|
if (history.find((i) => i.model == item.model && i.pk == item.pk)) {
|
||||||
showNotification({
|
showNotification({
|
||||||
label: t`Duplicate`,
|
title: t`Duplicate`,
|
||||||
message: t`Item already scanned`,
|
message: t`Item already scanned`,
|
||||||
color: 'orange'
|
color: 'orange'
|
||||||
});
|
});
|
||||||
|
@ -42,6 +42,7 @@ export function CurrencyTable({
|
|||||||
.then(() => {
|
.then(() => {
|
||||||
table.refreshTable();
|
table.refreshTable();
|
||||||
showNotification({
|
showNotification({
|
||||||
|
title: t`Success`,
|
||||||
message: t`Exchange rates updated`,
|
message: t`Exchange rates updated`,
|
||||||
color: 'green'
|
color: 'green'
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user