Changing some files related to the update process

This commit is contained in:
Félix Aime
2021-02-18 22:53:49 +01:00
parent 9382a1fd9f
commit b2d153bb17
4 changed files with 22 additions and 4 deletions

View File

@ -2,7 +2,7 @@
<div class="controls" v-if="display">
<i class="off-icon" v-on:click="action('shutdown')" v-if="off_available"></i>
<i class="quit-icon" v-on:click="action('quit')" v-if="quit_available"></i>
<i :class="[ update_available ? 'update-icon' :'no-update-icon' ]" v-if="update_possibe" @click="$router.push({ name: 'update' })"></i>
<i :class="[ update_available ? 'update-icon' :'no-update-icon' ]" @click="$router.push({ name: 'update' })"></i>
</div>
</template>
<script>
@ -39,7 +39,7 @@ export default {
this.update_available = false
this.update_possible = true
}
} else {
} else {
this.update_possible = false
}
})