Added comment and removed unused method
This commit is contained in:
parent
213de461bb
commit
0617a5a6a4
2 changed files with 1 additions and 10 deletions
|
|
@ -5,6 +5,7 @@
|
||||||
>
|
>
|
||||||
<div v-if="taskStarted" ref="isPollingElement">
|
<div v-if="taskStarted" ref="isPollingElement">
|
||||||
<action-progress-bar v-if="taskStarted && hideOnRun" :progress="progress" :task-status="taskStatus" />
|
<action-progress-bar v-if="taskStarted && hideOnRun" :progress="progress" :task-status="taskStatus" />
|
||||||
|
<!-- hideOnRun selects if the button hides, don't show progress bar if button doesn't hide. -->
|
||||||
<button
|
<button
|
||||||
v-if="canTerminate && taskRunning"
|
v-if="canTerminate && taskRunning"
|
||||||
type="button"
|
type="button"
|
||||||
|
|
|
||||||
|
|
@ -78,9 +78,6 @@
|
||||||
:submit-label="' - '"
|
:submit-label="' - '"
|
||||||
:hideOnRun="false"
|
:hideOnRun="false"
|
||||||
:can-terminate="false"
|
:can-terminate="false"
|
||||||
@finished="
|
|
||||||
updatePosition();
|
|
||||||
"
|
|
||||||
/>
|
/>
|
||||||
<action-button
|
<action-button
|
||||||
class="moveZ"
|
class="moveZ"
|
||||||
|
|
@ -91,9 +88,6 @@
|
||||||
:submit-label="'+'"
|
:submit-label="'+'"
|
||||||
:can-terminate="false"
|
:can-terminate="false"
|
||||||
:hideOnRun="false"
|
:hideOnRun="false"
|
||||||
@finished="
|
|
||||||
updatePosition();
|
|
||||||
"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -271,10 +265,6 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
async updatePosition() {
|
|
||||||
this.setPosition = await this.readThingProperty("stage", "position");
|
|
||||||
},
|
|
||||||
|
|
||||||
// Forces modal to show on button press
|
// Forces modal to show on button press
|
||||||
force_show: function() {
|
force_show: function() {
|
||||||
this.ready = true;
|
this.ready = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue