Skip to content

Commit f53ba88

Browse files
save file
1 parent a1d3984 commit f53ba88

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎utils/editors/html/code-explorer/html/code-explorer-html/v1.0/code-explorer-html-v1.0.html‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
var shadow;
7575

7676
var view;
77-
77+
var empty;
7878
var item;
7979

8080

@@ -106,7 +106,7 @@
106106
shadow = host.shadowRoot;
107107

108108
var {shadow:par} = params;
109-
({view} = params);
109+
({view,empty} = params);
110110

111111
var style = $(shadow,'style');
112112
par.append(style);
@@ -134,6 +134,10 @@
134134
//console.log(list);
135135
view.replaceChildren();
136136

137+
if(list.length==0){
138+
view.append(empty);
139+
}
140+
137141
list.forEach(o=>{
138142

139143
var node = item.cloneNode(true);

0 commit comments

Comments
 (0)