Check for stage_measure instead of stage type
This commit is contained in:
parent
a01813f053
commit
9580d98706
1 changed files with 4 additions and 1 deletions
|
|
@ -23,7 +23,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="stageType !== 'DummyStage'" class="uk-width-large">
|
<div v-if="stageMeasureAvailable" class="uk-width-large">
|
||||||
<h4>Stage Measurement Tools</h4>
|
<h4>Stage Measurement Tools</h4>
|
||||||
|
|
||||||
<div class="uk-margin">
|
<div class="uk-margin">
|
||||||
|
|
@ -78,6 +78,9 @@ export default {
|
||||||
stageType: function () {
|
stageType: function () {
|
||||||
return this.thingDescription("stage").title;
|
return this.thingDescription("stage").title;
|
||||||
},
|
},
|
||||||
|
stageMeasureAvailable() {
|
||||||
|
return this.thingAvailable("stage_measure");
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue