diff --git a/src/sdk/lsf-sdk.js b/src/sdk/lsf-sdk.js index fa704fa0..0aa52f96 100644 --- a/src/sdk/lsf-sdk.js +++ b/src/sdk/lsf-sdk.js @@ -637,7 +637,7 @@ export class LSFWrapper { if (!hasChanges || !selected) return; selected.saveDraftImmediatelyWithResults((status) => { - if (status === 200 || status === 201) this.datamanager.invoke("toast", "Draft saved successfully", "info"); + if (status === 200 || status === 201) this.datamanager.invoke("toast", { message: "Draft saved successfully", type: "info" }); else this.datamanager.invoke("toast", "There was an error saving your draft", "error"); }); };