PMCORE-3371: The Draft view page is not in a fresh installed environment

This commit is contained in:
Rodrigo Quelca
2021-09-24 19:31:12 +00:00
parent e05ffa7c65
commit 237bbde147
5 changed files with 5 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ export default {
data() {
let that = this;
return {
typeView: this.data.settings.view && this.data.settings.view.typeView
typeView: this.data.settings && this.data.settings.view && this.data.settings.view.typeView
? this.data.settings.view.typeView
: "GRID",
random: 1,

View File

@@ -3,7 +3,7 @@ export default {
data() {
let that = this;
return {
typeView: this.settings.view && this.settings.view.typeView
typeView: this.settings && this.settings.view && this.settings.view.typeView
? this.settings.view.typeView
: "GRID",
random: 1,

View File

@@ -4,7 +4,7 @@ export default {
data() {
let that = this;
return {
typeView: this.settings.view && this.settings.view.typeView
typeView: this.settings && this.settings.view && this.settings.view.typeView
? this.settings.view.typeView
: "GRID",
random: 1,

View File

@@ -3,7 +3,7 @@ export default {
data() {
let that = this;
return {
typeView: this.settings.view && this.settings.view.typeView
typeView: this.settings && this.settings.view && this.settings.view.typeView
? this.settings.view.typeView
: "GRID",
random: 1,

View File

@@ -3,7 +3,7 @@ export default {
data() {
let that = this;
return {
typeView: this.settings.view && this.settings.view.typeView
typeView: this.settings && this.settings.view && this.settings.view.typeView
? this.settings.view.typeView
: "GRID",
random: 1,