File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 80
80
</ a >
81
81
</ div >
82
82
83
- < div data-type ="react-AdvancedSkipOptionsComponent "> </ div >
83
+ < div data-type ="react-AdvancedSkipOptionsComponent " class =" hide-when-skip-profile " > </ div >
84
84
85
- < div data-type ="toggle " data-sync ="forceChannelCheck ">
85
+ < div data-type ="toggle " data-sync ="forceChannelCheck " class =" hide-when-skip-profile " >
86
86
< div class ="switch-container ">
87
87
< label class ="switch ">
88
88
< input id ="forceChannelCheck " type ="checkbox " checked >
96
96
< div class ="small-description "> __MSG_whatForceChannelCheck__</ div >
97
97
</ div >
98
98
99
- < div data-type ="toggle " data-sync ="showCategoryWithoutPermission ">
99
+ < div data-type ="toggle " data-sync ="showCategoryWithoutPermission " class =" hide-when-skip-profile " >
100
100
< div class ="switch-container ">
101
101
< label class ="switch ">
102
102
< input id ="showCategoryWithoutPermission " type ="checkbox " checked >
Original file line number Diff line number Diff line change @@ -23,6 +23,12 @@ export function CategoryChooserComponent() {
23
23
24
24
updateChannelList ( setChannelListText , selectedConfigurationID ! ) ;
25
25
setSelections ( getConfigurationValue < CategorySelection [ ] > ( selectedConfigurationID , "categorySelections" ) ) ;
26
+
27
+ if ( selectedConfigurationID === null ) {
28
+ document . querySelectorAll ( ".hide-when-skip-profile" ) . forEach ( ( e ) => e . classList . remove ( "hidden" ) ) ;
29
+ } else {
30
+ document . querySelectorAll ( ".hide-when-skip-profile" ) . forEach ( ( e ) => e . classList . add ( "hidden" ) ) ;
31
+ }
26
32
} , [ selectedConfigurationID ] ) ;
27
33
28
34
const createNewConfig = ( ) => {
You can’t perform that action at this time.
0 commit comments