Skip to content
Snippets Groups Projects
Unverified Commit a5f33dcd authored by Nemanja Glumac's avatar Nemanja Glumac Committed by GitHub
Browse files

Fix the `dismissed-custom-dashboard-toast` setting (#39785)

This setting key is defined using kebab-case.
Not sure how it worked (if it worked) using the snake_case?
parent 52b0c766
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,7 @@ export const ADMIN_SETTINGS_SECTIONS = {
postUpdateActions: [
() =>
updateSetting({
key: "dismissed_custom_dashboard_toast",
key: "dismissed-custom-dashboard-toast",
value: true,
}),
refreshCurrentUser,
......
......@@ -17,7 +17,7 @@ import type { Collection, DashboardId } from "metabase-types/api";
const CUSTOM_HOMEPAGE_SETTING_KEY = "custom-homepage";
const CUSTOM_HOMEPAGE_DASHBOARD_SETTING_KEY = "custom-homepage-dashboard";
const CUSTOM_HOMEPAGE_REDIRECT_TOAST_KEY = "dismissed_custom_dashboard_toast";
const CUSTOM_HOMEPAGE_REDIRECT_TOAST_KEY = "dismissed-custom-dashboard-toast";
interface CustomHomePageModalProps {
isOpen: boolean;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment