Alliow saving if running a NT server (#143)

This commit is contained in:
Matt
2020-10-19 10:04:04 -07:00
committed by GitHub
parent 3a78e23a55
commit 866ce2197e

View File

@@ -39,7 +39,7 @@
<v-btn
color="accent"
style="color: black; width: 100%;"
:disabled="!valid"
:disabled="!valid && !runNTServer"
@click="sendGeneralSettings()"
>
Save
@@ -93,7 +93,7 @@ export default {
return this.settings.teamNumber
},
set(value) {
this.$store.commit('mutateNetworkSettings', {['teamNumber']: value});
this.$store.commit('mutateNetworkSettings', {['teamNumber']: value || 0});
}
},
runNTServer: {