Skip to content

Commit

Permalink
feat: filter non-configurable workspace features in workspace configu…
Browse files Browse the repository at this point in the history
…ration page

Signed-off-by: tygao <tygao@amazon.com>
  • Loading branch information
raintygao committed Aug 24, 2023
1 parent 64d597a commit 154fffb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugins/workspace/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const WORKSPACE_CREATE_APP_ID = 'workspace_create';
export const WORKSPACE_LIST_APP_ID = 'workspace_list';
export const WORKSPACE_UPDATE_APP_ID = 'workspace_update';
export const WORKSPACE_OVERVIEW_APP_ID = 'workspace_overview';
//These features will be checked and disabled in checkbox on default.
// These features will be checked and disabled in checkbox on default.
export const DEFAULT_CHECKED_FEATURES_IDS = [WORKSPACE_UPDATE_APP_ID, WORKSPACE_OVERVIEW_APP_ID];
export const PATHS = {
create: '/create',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ export const WorkspaceForm = ({
disabled={
isWorkspaceFeatureGroup(featureOrGroup)
? false
: //If this feature isn't checked, will not disable to allow check to compatible dirty data.
: // If this feature isn't checked, will not disable to allow check to compatible dirty data.
isDefaultCheckedFeatureId(featureOrGroup.id) && selectedIds.length > 0
}
indeterminate={
Expand Down

0 comments on commit 154fffb

Please sign in to comment.