Skip to content

Commit

Permalink
Merge pull request #1300 from qmk/disabled-flag
Browse files Browse the repository at this point in the history
  • Loading branch information
tzarc committed Aug 11, 2023
2 parents d978fda + 243f9d6 commit c720987
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 11 deletions.
3 changes: 0 additions & 3 deletions src/components/StatusBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
<span class="version-num">v{{ version }}</span>
</div>
</div>
<div class="standing-notice">
Compile jobs are currently disabled due to a hardware failure.
</div>
<div class="bes-title">
<div class="bes-status">
<div class="bes-status-left" :class="currentStatusClass">
Expand Down
7 changes: 1 addition & 6 deletions src/scss/status-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
top: 0;
left: 0;
width: 100%;
grid-template: 1fr / 5% [qmk-branding] 2fr [standing-notice] 3fr [server-status] 2fr [bes-discord] 2fr [controls] 1fr 5%;
grid-template: 1fr / 5% [qmk-branding] 2fr [server-status] 2fr [bes-discord] 1fr [controls] 1fr 5%;
align-items: center;
font-size: 16px;
line-height: 2.5;
Expand Down Expand Up @@ -120,8 +120,3 @@
font-size: 14px;
cursor: pointer;
}

.standing-notice {
color: #ff7373;
font-weight: bold;
}
2 changes: 1 addition & 1 deletion src/store/modules/app/mutations.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { PREVIEW_LABEL } from '@/store/modules/constants';

const mutations = {
enableCompile(state) {
state.compileDisabled = true;
state.compileDisabled = false;
},
disableCompile(state) {
state.compileDisabled = true;
Expand Down
2 changes: 1 addition & 1 deletion src/store/modules/app/state.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const state = {
layout: '',
layouts: {},
keymapName: '',
compileDisabled: true,
compileDisabled: false,
isPreview: false,
previewRequested: false,
jobID: '',
Expand Down
File renamed without changes.

0 comments on commit c720987

Please sign in to comment.