Fix deprecated i18n api (#398)

This commit is contained in:
Honza Raclavský
2025-08-28 15:28:42 +02:00
committed by GitHub
parent a40bf5840d
commit cf1d5e7324
7 changed files with 11 additions and 11 deletions

View File

@@ -186,7 +186,7 @@ export const useCustomerStore = (useWindow = false) => {
this.customers.splice(index, 1)
notificationStore.showNotification({
type: 'success',
message: global.tc('customers.deleted_message', 1),
message: global.t('customers.deleted_message', 1),
})
resolve(response)
})
@@ -213,7 +213,7 @@ export const useCustomerStore = (useWindow = false) => {
notificationStore.showNotification({
type: 'success',
message: global.tc('customers.deleted_message', 2),
message: global.t('customers.deleted_message', 2),
})
resolve(response)
})