PMCORE-3371: The Draft view page is not in a fresh installed environment
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user