Skip to content

Commit

Permalink
fix missing action id
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Jun 18, 2024
1 parent 82d2e41 commit 415d1ff
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const ComposerWithData: FC = () => {
variables: {
projectId: id!,
},
fetchPolicy: "network-only",
});
const [saveActions] = useSaveActionsMutation();
const mode = useRecoilValue(ViewModeState);
Expand Down Expand Up @@ -44,7 +43,7 @@ const ComposerWithData: FC = () => {
if (data?.actions) {
setActions(
data.actions.map((action) => ({
id: "",
id: action.id!,
name: action.plugin,
actionName: action.name,
active: action.enabled,
Expand Down

0 comments on commit 415d1ff

Please sign in to comment.