aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src
diff options
context:
space:
mode:
authorRemy Raes <raes.remy@gmail.com>2022-12-02 00:38:11 +0100
committerGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2022-12-02 01:48:27 +0100
commitdf2446b9d664454a69bf2ca2a80d29d12f33714c (patch)
tree58abd1bb9b16718ae0da17c3586f7aa1d68c400e /src-vue/src
parente9ab60110f7e4326dc7a3ec8bbc8c9b6199d4384 (diff)
downloadFlightCore-df2446b9d664454a69bf2ca2a80d29d12f33714c.tar.gz
FlightCore-df2446b9d664454a69bf2ca2a80d29d12f33714c.zip
fix: prevent channel switching while game is running
Diffstat (limited to 'src-vue/src')
-rw-r--r--src-vue/src/components/PlayButton.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/src-vue/src/components/PlayButton.vue b/src-vue/src/components/PlayButton.vue
index 28fac278..687f12a4 100644
--- a/src-vue/src/components/PlayButton.vue
+++ b/src-vue/src/components/PlayButton.vue
@@ -99,7 +99,8 @@ export default defineComponent({
class="fc_launch__button" :style="buttonRadiusStyle">
{{ playButtonLabel }}
</el-button>
- <el-select v-if="showReleaseSwitch" v-model="currentCanal" placeholder="Select">
+ <el-select v-if="showReleaseSwitch" :disabled="northstarIsRunning"
+ v-model="currentCanal" placeholder="Select">
<el-option-group
v-for="group in selectOptions"
:key="group.label"
@@ -116,6 +117,7 @@ export default defineComponent({
</template>
<style scoped>
+
button {
text-transform: uppercase;
padding: 30px;
@@ -142,6 +144,7 @@ button {
border-radius: 0 2px 2px 0;
height: 62px;
box-shadow: none !important;
+ --el-disabled-bg-color: #a0cfff;
}
.el-select:deep(.el-icon) {