Compare commits

...

1 Commits

Author SHA1 Message Date
Joel McKinnon
1b16f620de added conditional message for no telemetry, rmoved diasabled fields 2020-03-03 16:20:43 -08:00
2 changed files with 4 additions and 4 deletions

View File

@@ -111,6 +111,9 @@
</select>
</span>
</li>
<li v-if="!telemetry.length">
<span class="help">Drag telemetry into the condition set to enable selection of telemetry parameters.</span>
</li>
</ul>
<ul v-if="telemetry.length"
class="t-widget-condition-config"

View File

@@ -38,16 +38,13 @@
<div v-show="isEditing"
class="help"
>
<span v-if="!telemetryObjs.length">Drag telemetry into Condition Set in order to add conditions.</span>
<span v-else>The first condition to match is the one that wins. Drag conditions to rearrange.</span>
<span>The first condition to match is the one that wins. Drag conditions to rearrange.</span>
</div>
<div class="holder add-condition-button-wrapper align-left">
<button
v-show="isEditing"
id="addCondition"
class="c-cs-button c-cs-button--major add-condition-button"
:class="{ 'is-disabled': !telemetryObjs.length}"
:disabled="!telemetryObjs.length"
@click="addCondition"
>
<span class="c-cs-button__label">Add Condition</span>