removed User uicolor not supporting it in schedule and that was the only place it was used

This commit is contained in:
2021-10-06 22:24:29 +00:00
parent abf411f759
commit 6f2e39aba6
6 changed files with 18 additions and 18 deletions

View File

@@ -21,6 +21,7 @@
User colors? Is this even going to be a thing or needed anymore??
in v7 it was only in calendar so if not in calendar now then no need
maybe just remove colors for users, it is not exactly a good idea UI wise anyway
See about including no tech items as sched should show them as unassigned or something it's built in for non matches but I could enable that anyway
it was in v7

View File

@@ -764,7 +764,7 @@ async function getUserOptions() {
timeZoneOverride: null,
currencyName: null,
hour12: true,
uiColor: "#000000",
//uiColor: "#000000",
emailAddress: null,
mapUrlTemplate: null
};
@@ -779,7 +779,7 @@ async function getUserOptions() {
l.hour12 = res.data.hour12;
}
l.uiColor = res.data.uiColor || "#000000";
// l.uiColor = res.data.uiColor || "#000000";
l.emailAddress = res.data.emailAddress || null;
l.mapUrlTemplate = res.data.mapUrlTemplate || null;

View File

@@ -39,7 +39,7 @@ export default new Vuex.Store({
timeZoneOverride: null, //use browser tz by default
currencyName: "USD",
hour12: true,
uiColor: "#000000",
// uiColor: "#000000",
emailAddress: null,
mapUrlTemplate: null
},
@@ -129,7 +129,7 @@ export default new Vuex.Store({
state.userOptions.timeZoneOverride = null;
state.userOptions.currencyName = "USD";
state.userOptions.hour12 = true;
state.userOptions.uiColor = "#000000";
//state.userOptions.uiColor = "#000000";
state.userOptions.emailAddress = null;
state.userOptions.mapUrlTemplate = null;
state.globalSettings = {};
@@ -154,7 +154,7 @@ export default new Vuex.Store({
state.userOptions.hour12 = data.hour12;
state.userOptions.timeZoneOverride = data.timeZoneOverride;
state.userOptions.emailAddress = data.emailAddress;
state.userOptions.uiColor = data.uiColor;
//state.userOptions.uiColor = data.uiColor;
state.userOptions.mapUrlTemplate = data.mapUrlTemplate;
},
setGlobalSettings(state, data) {

View File

@@ -376,8 +376,7 @@
></v-text-field>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<!-- https://vuetifyjs.com/en/components/color-pickers -->
<!-- <v-col cols="12" sm="6" lg="4" xl="3">
<span class="text-caption">
{{ $ay.t("UserColor") }}
</span>
@@ -390,7 +389,7 @@
ref="uiColor"
@input="fieldValueChanged('uiColor')"
></v-color-picker>
</v-col>
</v-col> -->
</v-row>
</v-tab-item>
</v-tabs-items>
@@ -505,7 +504,7 @@ export default {
phone2: null,
phone3: null,
mapUrlTemplate: null,
uiColor: "#000000",
// uiColor: "#000000",
languageOverride: null,
timeZoneOverride: null,
currencyName: "USD",

View File

@@ -363,9 +363,9 @@
@click:append-outer="goHelp()"
></v-text-field>
</v-col>
<!--
<v-col cols="12" sm="6" lg="4" xl="3">
<!-- https://vuetifyjs.com/en/components/color-pickers -->
<span class="text-caption">
{{ $ay.t("UserColor") }}
</span>
@@ -378,7 +378,7 @@
ref="uiColor"
@input="fieldValueChanged('uiColor')"
></v-color-picker>
</v-col>
</v-col> -->
</v-row>
</v-tab-item>
</v-tabs-items>
@@ -506,7 +506,7 @@ export default {
phone2: null,
phone3: null,
mapUrlTemplate: null,
uiColor: "#000000",
// uiColor: "#000000",
languageOverride: null,
timeZoneOverride: null,
currencyName: "USD",

View File

@@ -162,8 +162,8 @@
></v-text-field>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<!-- https://vuetifyjs.com/en/components/color-pickers -->
<!-- <v-col cols="12" sm="6" lg="4" xl="3">
<span class="text-caption">
{{ $ay.t("UserColor") }}
</span>
@@ -176,7 +176,7 @@
ref="uiColor"
@input="fieldValueChanged('uiColor')"
></v-color-picker>
</v-col>
</v-col> -->
</v-row>
</v-form>
</v-col>
@@ -238,7 +238,7 @@ export default {
phone2: null,
phone3: null,
mapUrlTemplate: null,
uiColor: null,
//uiColor: null,
languageOverride: null,
timeZoneOverride: null,
currencyName: null,
@@ -372,7 +372,7 @@ export default {
l.timeZoneOverride = this.obj.timeZoneOverride;
l.currencyName = this.obj.currencyName;
l.hour12 = this.obj.hour12;
l.uiColor = this.obj.uiColor;
//l.uiColor = this.obj.uiColor;
l.emailAddress = this.obj.emailAddress;
l.mapUrlTemplate = this.obj.mapUrlTemplate;
window.$gz.store.commit("setUserOptions", l);