Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Update src/sdk/lsf-sdk.js
Browse files Browse the repository at this point in the history
Co-authored-by: bmartel <[email protected]>
  • Loading branch information
Travis1282 and bmartel authored Sep 1, 2023
1 parent d3ac91e commit 7001aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdk/lsf-sdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
});
};
Expand Down

0 comments on commit 7001aec

Please sign in to comment.