Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TopBar.vue
Original file line number Diff line number Diff line change
@@ -746,7 +746,7 @@ export default {
break;
}
let timer;
let path = key === 'Shutdown' ? 'off' : 'Restart'
let path = key === 'Shutdown' ? 'off' : 'restart'
this.$api.sys.power(path).then(res => {
if (res.data.success === 200) {
this.showPowerMessage = res.data.data

0 comments on commit 0b9f483

Please sign in to comment.