Skip to content

Commit

Permalink
fix: Mistaken use of BootstrapUser type (#21892)
Browse files Browse the repository at this point in the history
  • Loading branch information
codyml authored Oct 20, 2022
1 parent 9a063ab commit e418694
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset-frontend/src/dashboard/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { chart } from 'src/components/Chart/chartReducer';
import componentTypes from 'src/dashboard/util/componentTypes';
import { UrlParamEntries } from 'src/utils/urlUtils';

import { BootstrapUser } from 'src/types/bootstrapTypes';
import { UserWithPermissionsAndRoles } from 'src/types/bootstrapTypes';
import { ChartState } from '../explore/types';

export { Dashboard } from 'src/types/Dashboard';
Expand Down Expand Up @@ -117,7 +117,7 @@ export type RootState = {
dataMask: DataMaskStateWithId;
impressionId: string;
nativeFilters: NativeFiltersState;
user: BootstrapUser;
user: UserWithPermissionsAndRoles;
};

/** State of dashboardLayout in redux */
Expand Down

0 comments on commit e418694

Please sign in to comment.