Skip to content

Commit

Permalink
chore(sub-item): remove delete sub notify
Browse files Browse the repository at this point in the history
  • Loading branch information
DesnLee committed Jul 6, 2022
1 parent 473c988 commit a479ef0
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/components/SubListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,8 @@
};
const onDeleteConfirm = async () => {
try {
await subsStore.deleteSub(props.type, name);
await subsStore.fetchSubsData();
Notify.danger(t('subPage.deleteSub.succeedNotify'), { duration: 1500 });
} catch (e) {
Notify.danger(e.message, { duration: 1500 });
}
await subsStore.deleteSub(props.type, name);
// Notify.danger(t('subPage.deleteSub.succeedNotify'), { duration: 1500 });
};
const onClickPreview = () => {
Expand Down

0 comments on commit a479ef0

Please sign in to comment.