fix(): Deleted default sales channel should be prevented (#10193)

FIXES CMRC-722

**What**
- It should not be allowed to delete a default sales channel
- The admin does not allow to delete a sales channel use as the default for the store
This commit is contained in:
Adrien de Peretti
2024-12-05 17:19:45 +01:00
committed by GitHub
parent 2b455b15a6
commit 559fc6587a
9 changed files with 510 additions and 1563 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -2334,6 +2334,9 @@
"update": "Sales channel updated successfully",
"delete": "Sales channel deleted successfully"
},
"tooltip": {
"cannotDeleteDefault": "Cannot delete default sales channel"
},
"products": {
"list": {
"noRecordsMessage": "There are no products in the sales channel."