removed User uicolor not supporting it in schedule and that was the only place it was used
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
User colors? Is this even going to be a thing or needed anymore??
|
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
|
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
|
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
|
it was in v7
|
||||||
|
|||||||
@@ -764,7 +764,7 @@ async function getUserOptions() {
|
|||||||
timeZoneOverride: null,
|
timeZoneOverride: null,
|
||||||
currencyName: null,
|
currencyName: null,
|
||||||
hour12: true,
|
hour12: true,
|
||||||
uiColor: "#000000",
|
//uiColor: "#000000",
|
||||||
emailAddress: null,
|
emailAddress: null,
|
||||||
mapUrlTemplate: null
|
mapUrlTemplate: null
|
||||||
};
|
};
|
||||||
@@ -779,7 +779,7 @@ async function getUserOptions() {
|
|||||||
l.hour12 = res.data.hour12;
|
l.hour12 = res.data.hour12;
|
||||||
}
|
}
|
||||||
|
|
||||||
l.uiColor = res.data.uiColor || "#000000";
|
// l.uiColor = res.data.uiColor || "#000000";
|
||||||
l.emailAddress = res.data.emailAddress || null;
|
l.emailAddress = res.data.emailAddress || null;
|
||||||
|
|
||||||
l.mapUrlTemplate = res.data.mapUrlTemplate || null;
|
l.mapUrlTemplate = res.data.mapUrlTemplate || null;
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ export default new Vuex.Store({
|
|||||||
timeZoneOverride: null, //use browser tz by default
|
timeZoneOverride: null, //use browser tz by default
|
||||||
currencyName: "USD",
|
currencyName: "USD",
|
||||||
hour12: true,
|
hour12: true,
|
||||||
uiColor: "#000000",
|
// uiColor: "#000000",
|
||||||
emailAddress: null,
|
emailAddress: null,
|
||||||
mapUrlTemplate: null
|
mapUrlTemplate: null
|
||||||
},
|
},
|
||||||
@@ -129,7 +129,7 @@ export default new Vuex.Store({
|
|||||||
state.userOptions.timeZoneOverride = null;
|
state.userOptions.timeZoneOverride = null;
|
||||||
state.userOptions.currencyName = "USD";
|
state.userOptions.currencyName = "USD";
|
||||||
state.userOptions.hour12 = true;
|
state.userOptions.hour12 = true;
|
||||||
state.userOptions.uiColor = "#000000";
|
//state.userOptions.uiColor = "#000000";
|
||||||
state.userOptions.emailAddress = null;
|
state.userOptions.emailAddress = null;
|
||||||
state.userOptions.mapUrlTemplate = null;
|
state.userOptions.mapUrlTemplate = null;
|
||||||
state.globalSettings = {};
|
state.globalSettings = {};
|
||||||
@@ -154,7 +154,7 @@ export default new Vuex.Store({
|
|||||||
state.userOptions.hour12 = data.hour12;
|
state.userOptions.hour12 = data.hour12;
|
||||||
state.userOptions.timeZoneOverride = data.timeZoneOverride;
|
state.userOptions.timeZoneOverride = data.timeZoneOverride;
|
||||||
state.userOptions.emailAddress = data.emailAddress;
|
state.userOptions.emailAddress = data.emailAddress;
|
||||||
state.userOptions.uiColor = data.uiColor;
|
//state.userOptions.uiColor = data.uiColor;
|
||||||
state.userOptions.mapUrlTemplate = data.mapUrlTemplate;
|
state.userOptions.mapUrlTemplate = data.mapUrlTemplate;
|
||||||
},
|
},
|
||||||
setGlobalSettings(state, data) {
|
setGlobalSettings(state, data) {
|
||||||
|
|||||||
@@ -376,8 +376,7 @@
|
|||||||
></v-text-field>
|
></v-text-field>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<!-- <v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<!-- https://vuetifyjs.com/en/components/color-pickers -->
|
|
||||||
<span class="text-caption">
|
<span class="text-caption">
|
||||||
{{ $ay.t("UserColor") }}
|
{{ $ay.t("UserColor") }}
|
||||||
</span>
|
</span>
|
||||||
@@ -390,7 +389,7 @@
|
|||||||
ref="uiColor"
|
ref="uiColor"
|
||||||
@input="fieldValueChanged('uiColor')"
|
@input="fieldValueChanged('uiColor')"
|
||||||
></v-color-picker>
|
></v-color-picker>
|
||||||
</v-col>
|
</v-col> -->
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-tab-item>
|
</v-tab-item>
|
||||||
</v-tabs-items>
|
</v-tabs-items>
|
||||||
@@ -505,7 +504,7 @@ export default {
|
|||||||
phone2: null,
|
phone2: null,
|
||||||
phone3: null,
|
phone3: null,
|
||||||
mapUrlTemplate: null,
|
mapUrlTemplate: null,
|
||||||
uiColor: "#000000",
|
// uiColor: "#000000",
|
||||||
languageOverride: null,
|
languageOverride: null,
|
||||||
timeZoneOverride: null,
|
timeZoneOverride: null,
|
||||||
currencyName: "USD",
|
currencyName: "USD",
|
||||||
|
|||||||
@@ -363,9 +363,9 @@
|
|||||||
@click:append-outer="goHelp()"
|
@click:append-outer="goHelp()"
|
||||||
></v-text-field>
|
></v-text-field>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
<!--
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<!-- https://vuetifyjs.com/en/components/color-pickers -->
|
|
||||||
<span class="text-caption">
|
<span class="text-caption">
|
||||||
{{ $ay.t("UserColor") }}
|
{{ $ay.t("UserColor") }}
|
||||||
</span>
|
</span>
|
||||||
@@ -378,7 +378,7 @@
|
|||||||
ref="uiColor"
|
ref="uiColor"
|
||||||
@input="fieldValueChanged('uiColor')"
|
@input="fieldValueChanged('uiColor')"
|
||||||
></v-color-picker>
|
></v-color-picker>
|
||||||
</v-col>
|
</v-col> -->
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-tab-item>
|
</v-tab-item>
|
||||||
</v-tabs-items>
|
</v-tabs-items>
|
||||||
@@ -506,7 +506,7 @@ export default {
|
|||||||
phone2: null,
|
phone2: null,
|
||||||
phone3: null,
|
phone3: null,
|
||||||
mapUrlTemplate: null,
|
mapUrlTemplate: null,
|
||||||
uiColor: "#000000",
|
// uiColor: "#000000",
|
||||||
languageOverride: null,
|
languageOverride: null,
|
||||||
timeZoneOverride: null,
|
timeZoneOverride: null,
|
||||||
currencyName: "USD",
|
currencyName: "USD",
|
||||||
|
|||||||
@@ -162,8 +162,8 @@
|
|||||||
></v-text-field>
|
></v-text-field>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<!-- <v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<!-- https://vuetifyjs.com/en/components/color-pickers -->
|
|
||||||
<span class="text-caption">
|
<span class="text-caption">
|
||||||
{{ $ay.t("UserColor") }}
|
{{ $ay.t("UserColor") }}
|
||||||
</span>
|
</span>
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
ref="uiColor"
|
ref="uiColor"
|
||||||
@input="fieldValueChanged('uiColor')"
|
@input="fieldValueChanged('uiColor')"
|
||||||
></v-color-picker>
|
></v-color-picker>
|
||||||
</v-col>
|
</v-col> -->
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-form>
|
</v-form>
|
||||||
</v-col>
|
</v-col>
|
||||||
@@ -238,7 +238,7 @@ export default {
|
|||||||
phone2: null,
|
phone2: null,
|
||||||
phone3: null,
|
phone3: null,
|
||||||
mapUrlTemplate: null,
|
mapUrlTemplate: null,
|
||||||
uiColor: null,
|
//uiColor: null,
|
||||||
languageOverride: null,
|
languageOverride: null,
|
||||||
timeZoneOverride: null,
|
timeZoneOverride: null,
|
||||||
currencyName: null,
|
currencyName: null,
|
||||||
@@ -372,7 +372,7 @@ export default {
|
|||||||
l.timeZoneOverride = this.obj.timeZoneOverride;
|
l.timeZoneOverride = this.obj.timeZoneOverride;
|
||||||
l.currencyName = this.obj.currencyName;
|
l.currencyName = this.obj.currencyName;
|
||||||
l.hour12 = this.obj.hour12;
|
l.hour12 = this.obj.hour12;
|
||||||
l.uiColor = this.obj.uiColor;
|
//l.uiColor = this.obj.uiColor;
|
||||||
l.emailAddress = this.obj.emailAddress;
|
l.emailAddress = this.obj.emailAddress;
|
||||||
l.mapUrlTemplate = this.obj.mapUrlTemplate;
|
l.mapUrlTemplate = this.obj.mapUrlTemplate;
|
||||||
window.$gz.store.commit("setUserOptions", l);
|
window.$gz.store.commit("setUserOptions", l);
|
||||||
|
|||||||
Reference in New Issue
Block a user