mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-20 11:44:05 +00:00
Fix deprecated i18n api (#398)
This commit is contained in:
4
resources/scripts/admin/stores/item.js
vendored
4
resources/scripts/admin/stores/item.js
vendored
@@ -141,7 +141,7 @@ export const useItemStore = (useWindow = false) => {
|
||||
|
||||
notificationStore.showNotification({
|
||||
type: 'success',
|
||||
message: global.tc('items.deleted_message', 1),
|
||||
message: global.t('items.deleted_message', 1),
|
||||
})
|
||||
|
||||
resolve(response)
|
||||
@@ -169,7 +169,7 @@ export const useItemStore = (useWindow = false) => {
|
||||
|
||||
notificationStore.showNotification({
|
||||
type: 'success',
|
||||
message: global.tc('items.deleted_message', 2),
|
||||
message: global.t('items.deleted_message', 2),
|
||||
})
|
||||
|
||||
resolve(response)
|
||||
|
||||
Reference in New Issue
Block a user