We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be9b544 commit dac7c2cCopy full SHA for dac7c2c
server/plugin.ts
@@ -13,6 +13,7 @@ import {
13
PluginInitializerContext,
14
SavedObject,
15
SavedObjectsType,
16
+ UiSettingScope,
17
} from '../../../src/core/server';
18
import { DataSourcePluginSetup } from '../../../src/plugins/data_source/server/types';
19
import { DataSourceManagementPlugin } from '../../../src/plugins/data_source_management/public/plugin';
@@ -238,6 +239,9 @@ export class ObservabilityPlugin
238
239
value: '',
240
description: 'The default dashboard to display in Observability overview page',
241
schema: schema.string(),
242
+ scope: core.workspace.isWorkspaceEnabled()
243
+ ? UiSettingScope.WORKSPACE
244
+ : UiSettingScope.GLOBAL,
245
},
246
});
247
0 commit comments