Revert "fix: adiciona botão de notificações na listagem de unidades"
This reverts commit de62e7d68c.
This commit is contained in:
parent
de62e7d68c
commit
ce2904e57f
@ -109,7 +109,6 @@
|
||||
"ADD_UNIT": "Add Unit",
|
||||
"EDIT_UNIT": "Edit Unit",
|
||||
"DELETE_UNIT": "Delete Unit",
|
||||
"NOTIFICATIONS_UNIT": "Notifications",
|
||||
"LIST": {
|
||||
"TABLE_HEADER": [
|
||||
"Pix Key",
|
||||
|
||||
@ -109,7 +109,6 @@
|
||||
"ADD_UNIT": "Adicionar Unidade",
|
||||
"EDIT_UNIT": "Editar Unidade",
|
||||
"DELETE_UNIT": "Deletar Unidade",
|
||||
"NOTIFICATIONS_UNIT": "Notificações",
|
||||
"LIST": {
|
||||
"TABLE_HEADER": [
|
||||
"Pix Key",
|
||||
|
||||
@ -39,13 +39,6 @@ const goToEdit = unit => {
|
||||
});
|
||||
};
|
||||
|
||||
const goToNotifications = unit => {
|
||||
router.push({
|
||||
name: 'captain_settings_notifications',
|
||||
params: { unitId: unit.id },
|
||||
});
|
||||
};
|
||||
|
||||
const openDeleteDialog = unit => {
|
||||
unitToDelete.value = unit;
|
||||
deleteDialogRef.value?.open();
|
||||
@ -183,13 +176,6 @@ const confirmDelete = async () => {
|
||||
</td>
|
||||
<td class="py-4">
|
||||
<div class="flex justify-end gap-2">
|
||||
<Button
|
||||
icon="i-lucide-bell"
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
:label="t('CAPTAIN_SETTINGS.UNITS.NOTIFICATIONS_UNIT')"
|
||||
@click="goToNotifications(unit)"
|
||||
/>
|
||||
<Button
|
||||
icon="i-lucide-pencil"
|
||||
variant="ghost"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user