This commit is contained in:
@@ -848,5 +848,7 @@ BUILD 8.0.0-beta.0.12 CHANGES OF NOTE
|
||||
- Changed "Scheduleable user notes" to "Service tech notes" in all stock translations
|
||||
- case 4084 fixed Intl.DateTimeFormat... reference issues in my code, and also see notes on how to fix remaining regular javascript issues for each report
|
||||
- case 4082 no changes see notes
|
||||
- case 4088 fixed
|
||||
- case 4089 documented
|
||||
|
||||
- TODO: 1 before this release handlebars utilities add to report edit functions https://handlebarsjs.com/api-reference/utilities.html
|
||||
@@ -66,7 +66,7 @@ import chartBarHorizontalControl from "./components/chart-bar-horizontal-control
|
||||
//DEVELOPMENT MODE
|
||||
//THIS SHOULD BE FALSE IN RELEASE
|
||||
//************************************************************
|
||||
const DEV_MODE = false;
|
||||
const DEV_MODE = true;
|
||||
//************************************************************
|
||||
//**************************************************************
|
||||
//**************************************************************
|
||||
@@ -107,7 +107,7 @@ window.onerror = errorHandler.handleGeneralError;
|
||||
//warnings, only occur by default in debug mode not production
|
||||
Vue.config.warnHandler = errorHandler.handleVueWarning;
|
||||
|
||||
//Vue.config.productionTip = false;
|
||||
Vue.config.productionTip = false;
|
||||
|
||||
/////////////////////////////////////////////////////////////////
|
||||
// AJAX LOADER INDICATOR
|
||||
|
||||
@@ -376,6 +376,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
/* eslint-disable no-debugger */
|
||||
const FORM_KEY = "svc-schedule";
|
||||
import GZDaysOfWeek from "../components/days-of-week-control.vue";
|
||||
export default {
|
||||
@@ -734,6 +735,14 @@ export default {
|
||||
} else {
|
||||
//# DAY VIEW CREATE START EVENT
|
||||
this.createStart = this.roundTime(mouse);
|
||||
let fullcat = null;
|
||||
let category = null;
|
||||
if (tms.category) {
|
||||
fullcat = tms.category;
|
||||
if (tms.category.name) {
|
||||
category = tms.category.name;
|
||||
}
|
||||
}
|
||||
this.extendEvent = {
|
||||
name: "-",
|
||||
color: this.$store.state.darkMode ? "white" : "black",
|
||||
@@ -744,8 +753,8 @@ export default {
|
||||
type: 0,
|
||||
id: 0,
|
||||
editable: true,
|
||||
fullcat: tms.category,
|
||||
category: tms.category.name
|
||||
fullcat: fullcat,
|
||||
category: category
|
||||
};
|
||||
this.events.push(this.extendEvent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user