Skip to content

Commit

Permalink
Fix default value bug when backend parameter is missing for oncoprint…
Browse files Browse the repository at this point in the history
… clustered option
  • Loading branch information
dippindots committed Aug 15, 2023
1 parent 320a981 commit b2ae776
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/config/IAppConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,10 @@ export interface IServerConfig {
skin_patient_view_structural_variant_table_columns_show_on_init: string;
comparison_categorical_na_values: string;
oncoprint_clinical_tracks_config_json: string;
oncoprint_clustered_default: boolean;
oncoprint_clustered_default: boolean; // this has a default
enable_cross_study_expression: string;
studyview_max_samples_selected: number;
study_download_url: string;
vaf_sequential_mode_default: boolean;
vaf_log_scale_default: boolean;
vaf_sequential_mode_default: boolean; // this has a default
vaf_log_scale_default: boolean; // this has a default
}
6 changes: 6 additions & 0 deletions src/config/serverConfigDefaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,12 @@ export const ServerConfigDefaults: Partial<IServerConfig> = {
studyview_max_samples_selected: 0,

study_download_url: '',

oncoprint_clustered_default: true,

vaf_sequential_mode_default: false,

vaf_log_scale_default: false,
};

export default ServerConfigDefaults;

0 comments on commit b2ae776

Please sign in to comment.