fix(10): correct toast error messages in SkillDetail — Update/Uninstall not Install/Rollback
This commit is contained in:
parent
530b94b2f7
commit
328e44b887
1 changed files with 2 additions and 2 deletions
|
|
@ -145,7 +145,7 @@ export function SkillDetail() {
|
||||||
pushToast({ title: "Skill updated", tone: "success" });
|
pushToast({ title: "Skill updated", tone: "success" });
|
||||||
},
|
},
|
||||||
onError: (err: Error) => {
|
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" });
|
pushToast({ title: "Skill uninstalled", tone: "success" });
|
||||||
},
|
},
|
||||||
onError: (err: Error) => {
|
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