Skip to content

Commit ef7071c

Browse files
committed
Show delete product notification
1 parent 32d2682 commit ef7071c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/views/Products/ProductsTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ function deleteProduct(product) {
240240
}
241241
store.dispatch('deleteProduct', product.id)
242242
.then(res => {
243-
// TODO Show notification
243+
store.commit('showToast', 'Product was successfully deleted');
244244
store.dispatch('getProducts')
245245
})
246246
}

0 commit comments

Comments
 (0)