hide message textarea if not needed

This commit is contained in:
Davide Alberani 2017-03-05 13:26:49 +01:00
parent b92b0799ac
commit af38c21064

View file

@ -28,7 +28,7 @@
</div>
<md-switch v-model="shownSettings.showMotd" class="md-warn">show motd</md-switch>
<md-input-container>
<md-input-container v-if="shownSettings.showMotd">
<label>message</label>
<md-textarea v-model="shownSettings.motd"></md-textarea>
</md-input-container>