mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 13:41:23 +00:00
Fix deprecated i18n api (#398)
This commit is contained in:
4
resources/scripts/admin/stores/users.js
vendored
4
resources/scripts/admin/stores/users.js
vendored
@@ -152,7 +152,7 @@ export const useUsersStore = (useWindow = false) => {
|
||||
this.users.splice(index, 1)
|
||||
notificationStore.showNotification({
|
||||
type: 'success',
|
||||
message: global.tc('users.deleted_message', 1),
|
||||
message: global.t('users.deleted_message', 1),
|
||||
})
|
||||
resolve(response)
|
||||
})
|
||||
@@ -177,7 +177,7 @@ export const useUsersStore = (useWindow = false) => {
|
||||
const notificationStore = useNotificationStore()
|
||||
notificationStore.showNotification({
|
||||
type: 'success',
|
||||
message: global.tc('users.deleted_message', 2),
|
||||
message: global.t('users.deleted_message', 2),
|
||||
})
|
||||
resolve(response)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user