File tree Expand file tree Collapse file tree 3 files changed +135
-132
lines changed
Expand file tree Collapse file tree 3 files changed +135
-132
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ <h1 class="display-4 pt-3" v-if="title">{{title}}</h1>
136136
137137< script type ="text/x-template " id ="main-template ">
138138 < div class = "container" >
139- < site v-bind :state = "state" v-if = "<<.Configured>>" > </ site >
139+ < site v-bind :state = "state" v-if = "configured(' <<.Configured>>') " > </ site >
140140 < div v-else >
141141 < div class = "row py-5" >
142142 < div class = "col12" >
Original file line number Diff line number Diff line change @@ -329,11 +329,14 @@ const main = Vue.component('main', {
329329 data : function ( ) {
330330 return {
331331 state : store . state // global state
332- } ;
332+ }
333333 } ,
334- computed : {
335- configured : function ( ) {
336- return this . state . loadpoints . length >= 1
334+ methods : {
335+ configured : function ( val ) {
336+ if ( val == '<<.Configured>>' && val != '0' ) {
337+ return 0 + val ;
338+ }
339+ return false ;
337340 }
338341 }
339342} ) ;
You can’t perform that action at this time.
0 commit comments