mirror of https://github.com/Fabio286/antares.git
fix: various warnings and exceptions
This commit is contained in:
parent
6af0c33461
commit
c50cbc577f
|
@ -10,7 +10,7 @@
|
||||||
<ul class="settingbar-elements">
|
<ul class="settingbar-elements">
|
||||||
<Draggable
|
<Draggable
|
||||||
v-model="connections"
|
v-model="connections"
|
||||||
:item-key="uid"
|
item-key="uid"
|
||||||
@start="isDragging = true"
|
@start="isDragging = true"
|
||||||
@end="dragStop"
|
@end="dragStop"
|
||||||
>
|
>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
ref="tabWrap"
|
ref="tabWrap"
|
||||||
v-model="draggableTabs"
|
v-model="draggableTabs"
|
||||||
tag="ul"
|
tag="ul"
|
||||||
:item-key="uid"
|
item-key="uid"
|
||||||
group="tabs"
|
group="tabs"
|
||||||
class="tab tab-block column col-12"
|
class="tab tab-block column col-12"
|
||||||
draggable=".tab-draggable"
|
draggable=".tab-draggable"
|
||||||
|
|
|
@ -246,7 +246,7 @@ export default {
|
||||||
return this.workspace.customizations;
|
return this.workspace.customizations;
|
||||||
},
|
},
|
||||||
tabUid () {
|
tabUid () {
|
||||||
return this.$vnode.key;
|
return this.$vnode?.key;
|
||||||
},
|
},
|
||||||
isChanged () {
|
isChanged () {
|
||||||
return JSON.stringify(this.originalFunction) !== JSON.stringify(this.localFunction);
|
return JSON.stringify(this.originalFunction) !== JSON.stringify(this.localFunction);
|
||||||
|
|
|
@ -206,7 +206,7 @@ export default {
|
||||||
return this.workspace.customizations;
|
return this.workspace.customizations;
|
||||||
},
|
},
|
||||||
tabUid () {
|
tabUid () {
|
||||||
return this.$vnode.key;
|
return this.$vnode?.key;
|
||||||
},
|
},
|
||||||
isChanged () {
|
isChanged () {
|
||||||
return JSON.stringify(this.originalRoutine) !== JSON.stringify(this.localRoutine);
|
return JSON.stringify(this.originalRoutine) !== JSON.stringify(this.localRoutine);
|
||||||
|
|
|
@ -182,7 +182,7 @@ export default {
|
||||||
return this.getWorkspace(this.connection.uid);
|
return this.getWorkspace(this.connection.uid);
|
||||||
},
|
},
|
||||||
tabUid () {
|
tabUid () {
|
||||||
return this.$vnode.key;
|
return this.$vnode?.key;
|
||||||
},
|
},
|
||||||
isChanged () {
|
isChanged () {
|
||||||
return JSON.stringify(this.originalScheduler) !== JSON.stringify(this.localScheduler);
|
return JSON.stringify(this.originalScheduler) !== JSON.stringify(this.localScheduler);
|
||||||
|
|
|
@ -218,7 +218,7 @@ export default {
|
||||||
return this.getWorkspace(this.connection.uid);
|
return this.getWorkspace(this.connection.uid);
|
||||||
},
|
},
|
||||||
tabUid () {
|
tabUid () {
|
||||||
return this.$vnode.key;
|
return this.$vnode?.key;
|
||||||
},
|
},
|
||||||
defaultCollation () {
|
defaultCollation () {
|
||||||
if (this.workspace.customizations.collations)
|
if (this.workspace.customizations.collations)
|
||||||
|
|
|
@ -170,7 +170,7 @@ export default {
|
||||||
return this.getWorkspace(this.connection.uid);
|
return this.getWorkspace(this.connection.uid);
|
||||||
},
|
},
|
||||||
tabUid () {
|
tabUid () {
|
||||||
return this.$vnode.key;
|
return this.$vnode?.key;
|
||||||
},
|
},
|
||||||
customizations () {
|
customizations () {
|
||||||
return this.workspace.customizations;
|
return this.workspace.customizations;
|
||||||
|
|
|
@ -150,7 +150,7 @@ export default {
|
||||||
return this.workspace.customizations;
|
return this.workspace.customizations;
|
||||||
},
|
},
|
||||||
tabUid () {
|
tabUid () {
|
||||||
return this.$vnode.key;
|
return this.$vnode?.key;
|
||||||
},
|
},
|
||||||
isChanged () {
|
isChanged () {
|
||||||
return JSON.stringify(this.originalFunction) !== JSON.stringify(this.localFunction);
|
return JSON.stringify(this.originalFunction) !== JSON.stringify(this.localFunction);
|
||||||
|
|
|
@ -158,7 +158,7 @@ export default {
|
||||||
return this.getWorkspace(this.connection.uid);
|
return this.getWorkspace(this.connection.uid);
|
||||||
},
|
},
|
||||||
tabUid () {
|
tabUid () {
|
||||||
return this.$vnode.key;
|
return this.$vnode?.key;
|
||||||
},
|
},
|
||||||
isChanged () {
|
isChanged () {
|
||||||
return JSON.stringify(this.originalView) !== JSON.stringify(this.localView);
|
return JSON.stringify(this.originalView) !== JSON.stringify(this.localView);
|
||||||
|
|
|
@ -269,7 +269,7 @@ export default {
|
||||||
return this.workspace.customizations;
|
return this.workspace.customizations;
|
||||||
},
|
},
|
||||||
tabUid () {
|
tabUid () {
|
||||||
return this.$vnode.key;
|
return this.$vnode?.key;
|
||||||
},
|
},
|
||||||
isChanged () {
|
isChanged () {
|
||||||
return JSON.stringify(this.originalFunction) !== JSON.stringify(this.localFunction);
|
return JSON.stringify(this.originalFunction) !== JSON.stringify(this.localFunction);
|
||||||
|
|
|
@ -226,7 +226,7 @@ export default {
|
||||||
return this.workspace.customizations;
|
return this.workspace.customizations;
|
||||||
},
|
},
|
||||||
tabUid () {
|
tabUid () {
|
||||||
return this.$vnode.key;
|
return this.$vnode?.key;
|
||||||
},
|
},
|
||||||
isChanged () {
|
isChanged () {
|
||||||
return JSON.stringify(this.originalRoutine) !== JSON.stringify(this.localRoutine);
|
return JSON.stringify(this.originalRoutine) !== JSON.stringify(this.localRoutine);
|
||||||
|
|
|
@ -181,7 +181,7 @@ export default {
|
||||||
return this.getWorkspace(this.connection.uid);
|
return this.getWorkspace(this.connection.uid);
|
||||||
},
|
},
|
||||||
tabUid () {
|
tabUid () {
|
||||||
return this.$vnode.key;
|
return this.$vnode?.key;
|
||||||
},
|
},
|
||||||
isChanged () {
|
isChanged () {
|
||||||
return JSON.stringify(this.originalScheduler) !== JSON.stringify(this.localScheduler);
|
return JSON.stringify(this.originalScheduler) !== JSON.stringify(this.localScheduler);
|
||||||
|
|
|
@ -105,7 +105,7 @@
|
||||||
ref="resultTable"
|
ref="resultTable"
|
||||||
:list="fields"
|
:list="fields"
|
||||||
class="tbody"
|
class="tbody"
|
||||||
:item-key="_antares_id"
|
item-key="_antares_id"
|
||||||
handle=".row-draggable"
|
handle=".row-draggable"
|
||||||
>
|
>
|
||||||
<template #item="{element}">
|
<template #item="{element}">
|
||||||
|
|
|
@ -169,7 +169,7 @@ export default {
|
||||||
return this.getWorkspace(this.connection.uid);
|
return this.getWorkspace(this.connection.uid);
|
||||||
},
|
},
|
||||||
tabUid () {
|
tabUid () {
|
||||||
return this.$vnode.key;
|
return this.$vnode?.key;
|
||||||
},
|
},
|
||||||
customizations () {
|
customizations () {
|
||||||
return this.workspace.customizations;
|
return this.workspace.customizations;
|
||||||
|
|
|
@ -147,7 +147,7 @@ export default {
|
||||||
return this.workspace.customizations;
|
return this.workspace.customizations;
|
||||||
},
|
},
|
||||||
tabUid () {
|
tabUid () {
|
||||||
return this.$vnode.key;
|
return this.$vnode?.key;
|
||||||
},
|
},
|
||||||
isChanged () {
|
isChanged () {
|
||||||
return JSON.stringify(this.originalFunction) !== JSON.stringify(this.localFunction);
|
return JSON.stringify(this.originalFunction) !== JSON.stringify(this.localFunction);
|
||||||
|
|
|
@ -157,7 +157,7 @@ export default {
|
||||||
return this.getWorkspace(this.connection.uid);
|
return this.getWorkspace(this.connection.uid);
|
||||||
},
|
},
|
||||||
tabUid () {
|
tabUid () {
|
||||||
return this.$vnode.key;
|
return this.$vnode?.key;
|
||||||
},
|
},
|
||||||
isChanged () {
|
isChanged () {
|
||||||
return JSON.stringify(this.originalView) !== JSON.stringify(this.localView);
|
return JSON.stringify(this.originalView) !== JSON.stringify(this.localView);
|
||||||
|
|
|
@ -239,7 +239,7 @@ export default {
|
||||||
return this.getWorkspace(this.connection.uid);
|
return this.getWorkspace(this.connection.uid);
|
||||||
},
|
},
|
||||||
tabUid () {
|
tabUid () {
|
||||||
return this.$vnode.key;
|
return this.$vnode?.key;
|
||||||
},
|
},
|
||||||
breadcrumbsSchema () {
|
breadcrumbsSchema () {
|
||||||
return this.workspace.breadcrumbs.schema || null;
|
return this.workspace.breadcrumbs.schema || null;
|
||||||
|
|
Loading…
Reference in New Issue