mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-02 08:46:38 +00:00
💬 Show Success: Blueprint applied successfully
This commit is contained in:
@@ -138,7 +138,7 @@ export async function applyBlueprint({
|
|||||||
}
|
}
|
||||||
|
|
||||||
blueprintSucceeded = true;
|
blueprintSucceeded = true;
|
||||||
blueprintMessage = "success";
|
blueprintMessage = "Blueprint applied successfully";
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
blueprintSucceeded = false;
|
blueprintSucceeded = false;
|
||||||
blueprintMessage = `Failed to update blueprint from config: ${err}`;
|
blueprintMessage = `Failed to update blueprint from config: ${err}`;
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ export default function CreateBlueprintForm({
|
|||||||
if (res && res.status === 201) {
|
if (res && res.status === 201) {
|
||||||
toast({
|
toast({
|
||||||
variant: "default",
|
variant: "default",
|
||||||
title: "Done",
|
title: "Success",
|
||||||
description: res.data.data.message
|
description: res.data.data.message
|
||||||
});
|
});
|
||||||
router.push(`/${orgId}/settings/blueprints`);
|
router.push(`/${orgId}/settings/blueprints`);
|
||||||
|
|||||||
Reference in New Issue
Block a user