We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba16d60 commit 0af308bCopy full SHA for 0af308b
src/views/portfolio/projects/ProjectComponents.vue
@@ -450,12 +450,15 @@ export default {
450
this.axios.delete(`${this.$api.BASE_URL}/${this.$api.URL_COMPONENT}/${dep.uuid}`)
451
);
452
await Promise.all(deletePromises);
453
+ this.$refs.table.refresh({ silent: true });
454
}
455
//Step 3: Delete the BOM after all its components are removed
456
await this.axios.delete(deleteBomUrl);
457
this.$toastr.s(this.$t("message.bom_deleted"));
458
//Step 4: Refresh the table
459
this.$refs.table.removeAll();
460
+ //Step 5: Refresh the metrics
461
+ await this.axios.get(`/api/v1/metrics/project/${this.uuid}/refresh`);
462
463
else {
464
this.$toastr.w(this.$t("message.no_bom_available"));
0 commit comments