We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c390032 commit 3cff8fcCopy full SHA for 3cff8fc
apps/src/metabase/appState.ts
@@ -347,12 +347,13 @@ Here's what I need modified:
347
children: [getBaseStyles() + (enableHighlightHelpers ? getHighlightStyles() : '')]
348
});
349
const errorMessageSelector = querySelectorMap['error_message_head']
350
+ const isEmbedded = getParsedIframeInfo().isEmbedded as unknown === 'true'
351
const uniqueID = await RPCs.addNativeElements(errorMessageSelector, {
352
tag: 'button',
353
attributes: {
354
class: 'Button Button--primary minusx_style_error_button',
355
},
- children: ['✨ Fix with MinusX']
356
+ children: [(isEmbedded ? '✨ Fix with AI' : '✨ Fix with MinusX')]
357
})
358
addNativeEventListener({
359
type: "CSS",
0 commit comments