Skip to content

Commit

Permalink
fix: add default return when invalidation is skipped (#1938)
Browse files Browse the repository at this point in the history
  • Loading branch information
finnar-bin authored Mar 20, 2023
1 parent bf05f62 commit 73d7689
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shell/services/instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ export const instanceApi = createApi({
if (!arg.skipInvalidation) {
return [{ type: "ContentModelFields", id: arg.modelZUID }];
}

return [];
},
}),
updateContentModelField: builder.mutation<
Expand Down

0 comments on commit 73d7689

Please sign in to comment.