Skip to content

Commit

Permalink
fix: various warnings and exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Apr 22, 2022
1 parent 6af0c33 commit c50cbc5
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/renderer/components/TheSettingBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<ul class="settingbar-elements">
<Draggable
v-model="connections"
:item-key="uid"
item-key="uid"
@start="isDragging = true"
@end="dragStop"
>
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/Workspace.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
ref="tabWrap"
v-model="draggableTabs"
tag="ul"
:item-key="uid"
item-key="uid"
group="tabs"
class="tab tab-block column col-12"
draggable=".tab-draggable"
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabNewFunction.vue
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ export default {
return this.workspace.customizations;
},
tabUid () {
return this.$vnode.key;
return this.$vnode?.key;
},
isChanged () {
return JSON.stringify(this.originalFunction) !== JSON.stringify(this.localFunction);
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabNewRoutine.vue
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export default {
return this.workspace.customizations;
},
tabUid () {
return this.$vnode.key;
return this.$vnode?.key;
},
isChanged () {
return JSON.stringify(this.originalRoutine) !== JSON.stringify(this.localRoutine);
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabNewScheduler.vue
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export default {
return this.getWorkspace(this.connection.uid);
},
tabUid () {
return this.$vnode.key;
return this.$vnode?.key;
},
isChanged () {
return JSON.stringify(this.originalScheduler) !== JSON.stringify(this.localScheduler);
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabNewTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export default {
return this.getWorkspace(this.connection.uid);
},
tabUid () {
return this.$vnode.key;
return this.$vnode?.key;
},
defaultCollation () {
if (this.workspace.customizations.collations)
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabNewTrigger.vue
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export default {
return this.getWorkspace(this.connection.uid);
},
tabUid () {
return this.$vnode.key;
return this.$vnode?.key;
},
customizations () {
return this.workspace.customizations;
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabNewTriggerFunction.vue
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export default {
return this.workspace.customizations;
},
tabUid () {
return this.$vnode.key;
return this.$vnode?.key;
},
isChanged () {
return JSON.stringify(this.originalFunction) !== JSON.stringify(this.localFunction);
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabNewView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export default {
return this.getWorkspace(this.connection.uid);
},
tabUid () {
return this.$vnode.key;
return this.$vnode?.key;
},
isChanged () {
return JSON.stringify(this.originalView) !== JSON.stringify(this.localView);
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabPropsFunction.vue
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export default {
return this.workspace.customizations;
},
tabUid () {
return this.$vnode.key;
return this.$vnode?.key;
},
isChanged () {
return JSON.stringify(this.originalFunction) !== JSON.stringify(this.localFunction);
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabPropsRoutine.vue
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export default {
return this.workspace.customizations;
},
tabUid () {
return this.$vnode.key;
return this.$vnode?.key;
},
isChanged () {
return JSON.stringify(this.originalRoutine) !== JSON.stringify(this.localRoutine);
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabPropsScheduler.vue
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export default {
return this.getWorkspace(this.connection.uid);
},
tabUid () {
return this.$vnode.key;
return this.$vnode?.key;
},
isChanged () {
return JSON.stringify(this.originalScheduler) !== JSON.stringify(this.localScheduler);
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabPropsTableFields.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
ref="resultTable"
:list="fields"
class="tbody"
:item-key="_antares_id"
item-key="_antares_id"
handle=".row-draggable"
>
<template #item="{element}">
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabPropsTrigger.vue
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export default {
return this.getWorkspace(this.connection.uid);
},
tabUid () {
return this.$vnode.key;
return this.$vnode?.key;
},
customizations () {
return this.workspace.customizations;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export default {
return this.workspace.customizations;
},
tabUid () {
return this.$vnode.key;
return this.$vnode?.key;
},
isChanged () {
return JSON.stringify(this.originalFunction) !== JSON.stringify(this.localFunction);
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabPropsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export default {
return this.getWorkspace(this.connection.uid);
},
tabUid () {
return this.$vnode.key;
return this.$vnode?.key;
},
isChanged () {
return JSON.stringify(this.originalView) !== JSON.stringify(this.localView);
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabQuery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export default {
return this.getWorkspace(this.connection.uid);
},
tabUid () {
return this.$vnode.key;
return this.$vnode?.key;
},
breadcrumbsSchema () {
return this.workspace.breadcrumbs.schema || null;
Expand Down

0 comments on commit c50cbc5

Please sign in to comment.