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