Skip to content

Commit 720481a

Browse files
committed
Private prop prefixed "_".
1 parent bff6b1e commit 720481a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

js/utils/dico.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const fieldInCharts = f => fieldChartable(f) && !f.noCharts
9898

9999
function prepModel(m){
100100
if(m){
101-
if(!m.prepared){
101+
if(!m._prepared){
102102
// - Model
103103
m.schemaTable = schema+'."'+(m.table || m.id)+'"';
104104
if(!m.pKey){
@@ -136,7 +136,7 @@ function prepModel(m){
136136
})
137137
})
138138
}
139-
m.prepared = true;
139+
m._prepared = true;
140140
}
141141
return m;
142142
}

0 commit comments

Comments
 (0)