change in toastr message

This commit is contained in:
bansarishukla
2019-11-12 18:05:23 +05:30
parent 1d08b3d47e
commit 97c84ac2ff
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ export default {
this.id = null this.id = null
this.$refs.table.refresh() this.$refs.table.refresh()
return true return true
} window.toastr['success'](this.$t('settings.expense_category.already_in_use')) } window.toastr['error'](this.$t('settings.expense_category.already_in_use'))
} }
}) })
}, },

View File

@ -173,7 +173,7 @@ export default {
this.id = null this.id = null
this.$refs.table.refresh() this.$refs.table.refresh()
return true return true
}window.toastr['success'](this.$t('settings.tax_types.already_in_use')) }window.toastr['error'](this.$t('settings.tax_types.already_in_use'))
} }
}) })
}, },