mirror of
https://github.com/apache/superset.git
synced 2026-07-26 16:42:32 +00:00
chore(frontend): comprehensive TypeScript quality improvements (#37625)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -263,7 +263,7 @@ describe('SaveDatasetModal', () => {
|
||||
});
|
||||
|
||||
test('renders a checkbox button when template processing is enabled', () => {
|
||||
// @ts-ignore
|
||||
// @ts-expect-error
|
||||
global.featureFlags = {
|
||||
[FeatureFlag.EnableTemplateProcessing]: true,
|
||||
};
|
||||
@@ -272,7 +272,7 @@ describe('SaveDatasetModal', () => {
|
||||
});
|
||||
|
||||
test('correctly includes template parameters when template processing is enabled', () => {
|
||||
// @ts-ignore
|
||||
// @ts-expect-error
|
||||
global.featureFlags = {
|
||||
[FeatureFlag.EnableTemplateProcessing]: true,
|
||||
};
|
||||
@@ -307,7 +307,7 @@ describe('SaveDatasetModal', () => {
|
||||
});
|
||||
|
||||
test('correctly excludes template parameters when template processing is enabled', () => {
|
||||
// @ts-ignore
|
||||
// @ts-expect-error
|
||||
global.featureFlags = {
|
||||
[FeatureFlag.EnableTemplateProcessing]: true,
|
||||
};
|
||||
|
||||
@@ -258,7 +258,7 @@ export const SaveDatasetModal = ({
|
||||
]);
|
||||
setLoading(false);
|
||||
|
||||
const url = mountExploreUrl(null, {
|
||||
const url = mountExploreUrl('base', {
|
||||
[URL_PARAMS.formDataKey.name]: key,
|
||||
});
|
||||
createWindow(url);
|
||||
@@ -364,7 +364,7 @@ export const SaveDatasetModal = ({
|
||||
})
|
||||
.then((key: string) => {
|
||||
setLoading(false);
|
||||
const url = mountExploreUrl(null, {
|
||||
const url = mountExploreUrl('base', {
|
||||
[URL_PARAMS.formDataKey.name]: key,
|
||||
});
|
||||
createWindow(url);
|
||||
|
||||
Reference in New Issue
Block a user