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">
|
||||
<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
|
||||
v-if="canTerminate && taskRunning"
|
||||
type="button"
|
||||
|
|
|
|||
|
|
@ -78,9 +78,6 @@
|
|||
:submit-label="' - '"
|
||||
:hideOnRun="false"
|
||||
:can-terminate="false"
|
||||
@finished="
|
||||
updatePosition();
|
||||
"
|
||||
/>
|
||||
<action-button
|
||||
class="moveZ"
|
||||
|
|
@ -91,9 +88,6 @@
|
|||
:submit-label="'+'"
|
||||
:can-terminate="false"
|
||||
:hideOnRun="false"
|
||||
@finished="
|
||||
updatePosition();
|
||||
"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -271,10 +265,6 @@ export default {
|
|||
}
|
||||
},
|
||||
|
||||
async updatePosition() {
|
||||
this.setPosition = await this.readThingProperty("stage", "position");
|
||||
},
|
||||
|
||||
// Forces modal to show on button press
|
||||
force_show: function() {
|
||||
this.ready = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue