mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
fix: use FeatureFlags in @superset-ui/core (#13679)
This commit is contained in:
@@ -22,8 +22,16 @@ import { SupersetClient } from '@superset-ui/core';
|
||||
import {
|
||||
getClientErrorObject,
|
||||
ClientErrorObject,
|
||||
} from '../utils/getClientErrorObject';
|
||||
import setupErrorMessages from './setupErrorMessages';
|
||||
} from 'src/utils/getClientErrorObject';
|
||||
import setupErrorMessages from 'src/setup/setupErrorMessages';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
declare global {
|
||||
interface Window {
|
||||
$: any;
|
||||
jQuery: any;
|
||||
}
|
||||
}
|
||||
|
||||
function showApiMessage(resp: ClientErrorObject) {
|
||||
const template =
|
||||
|
||||
Reference in New Issue
Block a user