mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 08:01:05 +03:30
Product
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user