Skip to content

Commit

Permalink
disable personal space osc
Browse files Browse the repository at this point in the history
  • Loading branch information
HSunboy committed Sep 25, 2023
1 parent 12c999f commit bdd5df8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/store/setting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import { initTracert } from '@/util/tracert';
import { message } from 'antd';
import { action, observable } from 'mobx';
import { isLinux, isWin64 } from '@/util/utils';
import login from './login';

export const themeKey = 'odc-theme';

Expand Down Expand Up @@ -227,6 +228,9 @@ export class SettingStore {
res?.['odc.features.task.export.enabled'] === 'true' && this.enableDataExport;
this.enableMockdata = res?.['odc.features.task.mockdata.enabled'] === 'true';
this.enableOSC = res?.['odc.features.task.osc.enabled'] === 'true';
if (login.isPrivateSpace()) {
this.enableOSC = res?.['odc.features.task.osc.individual.space.enabled'] === 'true';
}
this.isUploadCloudStore = res?.['odc.file.interaction-mode'] === 'CLOUD_STORAGE';
}

Expand Down

0 comments on commit bdd5df8

Please sign in to comment.