Skip to content

Commit

Permalink
Add scope for fake dash entry (#1947)
Browse files Browse the repository at this point in the history
  • Loading branch information
flops authored Dec 16, 2024
1 parent 2d5e359 commit dbd65d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ui/units/dash/store/utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {generateUniqId} from '@gravity-ui/dashkit/helpers';
import {I18n} from 'i18n';
import {EntryScope} from 'shared';
import type {FakeDashData} from 'shared/types/dash';
import {DashLoadPriority} from 'shared/types/dash';
import {DL, URL_QUERY} from 'ui/constants';
Expand Down Expand Up @@ -57,6 +58,7 @@ export const getFakeDashEntry = (workbookId?: string) => {
key: initialKey,
fakeName: dashCreateI18n('label_default-name'),
workbookId,
scope: EntryScope.Dash,
},
data,
tabId: newTabId,
Expand Down

0 comments on commit dbd65d5

Please sign in to comment.