Skip to content

Commit 8f46046

Browse files
committed
bugfix: ensure you can clear PDP prompt
1 parent 3160565 commit 8f46046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clients/trieve-shopify-extension/app/routes/app._dashboard.settings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export const action = async ({ request }: ActionFunctionArgs) => {
128128
server_configuration: datasetSettings,
129129
});
130130
const pdpPrompt = formData.get("pdp_prompt");
131-
if (pdpPrompt && pdpPrompt !== "") {
131+
if (pdpPrompt) {
132132
await setAppMetafields(fetcher, [
133133
{
134134
key: "pdp_prompt",

0 commit comments

Comments
 (0)