diff --git a/src/views/mobile/accounts/Edit.vue b/src/views/mobile/accounts/Edit.vue
index 7c611651..f9d6bffa 100644
--- a/src/views/mobile/accounts/Edit.vue
+++ b/src/views/mobile/accounts/Edit.vue
@@ -206,7 +206,7 @@
+ @click="removeSubAccount(subAccount, false)">
@@ -297,7 +297,7 @@
{{ $t('Are you sure you want to remove this sub account?') }}
- {{ $t('Remove') }}
+ {{ $t('Remove') }}
{{ $t('Cancel') }}
@@ -468,13 +468,13 @@ export default {
showBalanceSheet: false
});
},
- removeSubAccount(subAccount) {
+ removeSubAccount(subAccount, confirm) {
if (!subAccount) {
this.$alert('An error has occurred');
return;
}
- if (!this.showDeleteActionSheet) {
+ if (!confirm) {
this.subAccountToDelete = subAccount;
this.showDeleteActionSheet = true;
return;
diff --git a/src/views/mobile/accounts/List.vue b/src/views/mobile/accounts/List.vue
index d00dd727..427f2700 100644
--- a/src/views/mobile/accounts/List.vue
+++ b/src/views/mobile/accounts/List.vue
@@ -167,7 +167,7 @@
-
+
@@ -188,7 +188,7 @@
{{ $t('Are you sure you want to delete this account?') }}
- {{ $t('Delete') }}
+ {{ $t('Delete') }}
{{ $t('Cancel') }}
@@ -649,7 +649,7 @@ export default {
}
});
},
- remove(account) {
+ remove(account, confirm) {
const self = this;
const app = self.$f7;
const $$ = app.$;
@@ -659,7 +659,7 @@ export default {
return;
}
- if (!self.showDeleteActionSheet) {
+ if (!confirm) {
self.accountToDelete = account;
self.showDeleteActionSheet = true;
return;
diff --git a/src/views/mobile/categories/List.vue b/src/views/mobile/categories/List.vue
index d9960cf6..ce04bd25 100644
--- a/src/views/mobile/categories/List.vue
+++ b/src/views/mobile/categories/List.vue
@@ -58,7 +58,7 @@
-
+
@@ -79,7 +79,7 @@
{{ $t('Are you sure you want to delete this category?') }}
- {{ $t('Delete') }}
+ {{ $t('Delete') }}
{{ $t('Cancel') }}
@@ -379,7 +379,7 @@ export default {
}
});
},
- remove(category) {
+ remove(category, confirm) {
const self = this;
const app = self.$f7;
const $$ = app.$;
@@ -389,7 +389,7 @@ export default {
return;
}
- if (!self.showDeleteActionSheet) {
+ if (!confirm) {
self.categoryToDelete = category;
self.showDeleteActionSheet = true;
return;
diff --git a/src/views/mobile/tags/List.vue b/src/views/mobile/tags/List.vue
index 7ae6873c..59212413 100644
--- a/src/views/mobile/tags/List.vue
+++ b/src/views/mobile/tags/List.vue
@@ -99,7 +99,7 @@
-
+
@@ -120,7 +120,7 @@
{{ $t('Are you sure you want to delete this tag?') }}
- {{ $t('Delete') }}
+ {{ $t('Delete') }}
{{ $t('Cancel') }}
@@ -440,7 +440,7 @@ export default {
}
});
},
- remove(tag) {
+ remove(tag, confirm) {
const self = this;
const app = self.$f7;
const $$ = app.$;
@@ -450,7 +450,7 @@ export default {
return;
}
- if (!self.showDeleteActionSheet) {
+ if (!confirm) {
self.tagToDelete = tag;
self.showDeleteActionSheet = true;
return;
diff --git a/src/views/mobile/transactions/Detail.vue b/src/views/mobile/transactions/Detail.vue
index b9fe8554..52d92d85 100644
--- a/src/views/mobile/transactions/Detail.vue
+++ b/src/views/mobile/transactions/Detail.vue
@@ -154,7 +154,7 @@
-
+
@@ -174,7 +174,7 @@
{{ $t('Are you sure you want to delete this transaction?') }}
- {{ $t('Delete') }}
+ {{ $t('Delete') }}
{{ $t('Cancel') }}
@@ -367,7 +367,7 @@ export default {
edit(transaction) {
this.$f7router.navigate('/transaction/edit?id=' + transaction.id);
},
- remove(transaction) {
+ remove(transaction, confirm) {
const self = this;
const app = self.$f7;
const $$ = app.$;
@@ -377,7 +377,7 @@ export default {
return;
}
- if (!self.showDeleteActionSheet) {
+ if (!confirm) {
self.transactionToDelete = transaction;
self.showDeleteActionSheet = true;
return;