fix(10): correct toast error messages in SkillDetail — Update/Uninstall not Install/Rollback
This commit is contained in:
parent
0df345acf7
commit
b0857a95a0
1 changed files with 2 additions and 2 deletions
|
|
@ -145,7 +145,7 @@ export function SkillDetail() {
|
|||
pushToast({ title: "Skill updated", tone: "success" });
|
||||
},
|
||||
onError: (err: Error) => {
|
||||
pushToast({ title: "Install failed", body: err.message, tone: "error" });
|
||||
pushToast({ title: "Update failed", body: err.message, tone: "error" });
|
||||
},
|
||||
});
|
||||
|
||||
|
|
@ -169,7 +169,7 @@ export function SkillDetail() {
|
|||
pushToast({ title: "Skill uninstalled", tone: "success" });
|
||||
},
|
||||
onError: (err: Error) => {
|
||||
pushToast({ title: "Rollback failed", body: err.message, tone: "error" });
|
||||
pushToast({ title: "Uninstall failed", body: err.message, tone: "error" });
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue