forked from verdnatura/salix-front
refactor: refs #7354 changed icon color in table and notification when deleting a zone
This commit is contained in:
parent
8903aabddf
commit
709f434e5d
|
@ -30,11 +30,6 @@ const actions = {
|
|||
await axios.post(`Zones/${zoneId}/deleteZone`);
|
||||
|
||||
notify({ message: t('Zone deleted'), type: 'positive' });
|
||||
notify({
|
||||
message: t('You can undo this action within the first hour'),
|
||||
icon: 'info',
|
||||
});
|
||||
|
||||
push({ name: 'ZoneList' });
|
||||
} catch (e) {
|
||||
notify({ message: e.message, type: 'negative' });
|
||||
|
|
|
@ -106,6 +106,7 @@ const columns = computed(() => [
|
|||
title: t('list.zoneSummary'),
|
||||
icon: 'preview',
|
||||
action: (row) => viewSummary(row.id, ZoneSummary),
|
||||
isPrimary: true,
|
||||
},
|
||||
{
|
||||
title: t('globals.clone'),
|
||||
|
|
Loading…
Reference in New Issue