This commit is contained in:
saeid
2019-04-29 19:24:18 +04:30
parent 9c28dc5538
commit a8a6780c17
49 changed files with 76186 additions and 1157 deletions
@@ -119,7 +119,7 @@ export default {
},
async remove(id) {
const result = await ApiService.delete(urls.deleteMedicalCenter(id));
if (result.status == 200) {
if (result && result.status == 200) {
for (const key in this.items) {
if (this.items.hasOwnProperty(key) && this.items[key].id == id) {
this.items.splice(key, 1);