2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-30 12:36:45 +00:00

Fix for notification ()

label -> title
This commit is contained in:
Oliver 2025-01-07 15:00:48 +11:00 committed by GitHub
parent dcf0bb103e
commit b42edbf2ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions
src/frontend/src/pages/Index

@ -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'
}); });