Make notice visibility option not appear when notice disabled

This commit is contained in:
Ajay 2024-04-04 13:54:47 -04:00
parent e14b3c76f9
commit e1d656f43f

View file

@ -219,9 +219,10 @@
__MSG_showSkipNotice__ __MSG_showSkipNotice__
</label> </label>
</div> </div>
</div>
<div data-type="selector" data-sync="noticeVisibilityMode"> <div data-type="selector" data-sync="noticeVisibilityMode" data-dependent-on="dontShowNotice">
<br/>
<label class="optionLabel" for="noticeVisibilityMode">__MSG_noticeVisibilityLabel__:</label> <label class="optionLabel" for="noticeVisibilityMode">__MSG_noticeVisibilityLabel__:</label>
<select id="noticeVisibilityMode" class="selector-element optionsSelector" > <select id="noticeVisibilityMode" class="selector-element optionsSelector" >
@ -232,6 +233,7 @@
<option value="4">__MSG_noticeVisibilityMode4__</option> <option value="4">__MSG_noticeVisibilityMode4__</option>
</select> </select>
</div> </div>
</div>
<div data-type="toggle" data-sync="showCategoryGuidelines"> <div data-type="toggle" data-sync="showCategoryGuidelines">
<div class="switch-container"> <div class="switch-container">