Skip to content

Commit

Permalink
Add Fixit button to Metabase
Browse files Browse the repository at this point in the history
  • Loading branch information
nuwandavek committed Nov 25, 2024
1 parent c7cd168 commit 5897ebf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/src/metabase/appState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ export class MetabaseState extends DefaultAppState<MetabaseAppState> {
await getRelevantTablesForSelectedDb('');

// Listen to clicks on Error Message
if (configs.IS_DEV) {
// if (configs.IS_DEV) {
if (true) {
const errorMessageSelector = querySelectorMap['error_message_head']
const uniqueID = await RPCs.addNativeElements(errorMessageSelector, {
tag: 'button',
Expand Down

0 comments on commit 5897ebf

Please sign in to comment.