bug fix
parent
370267ea86
commit
f84194acc3
|
|
@ -11,6 +11,7 @@
|
|||
</div>
|
||||
<div class="values">
|
||||
<div class="item" *ngFor="let asset of assets">
|
||||
<pre>{{asset.extension|json}}</pre>
|
||||
<a href="{{asset.links?.open}}" target="_blank">{{asset.name}}</a>
|
||||
<button type="button" class="clear trash" (click)="removeValue(asset)"></button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
<div class="jumbotron-content layout-corral">
|
||||
<header-user-bar></header-user-bar>
|
||||
<h1>{{name}}</h1>
|
||||
{{currentPage|json}}
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ export class PagesMenuComponent implements OnInit {
|
|||
let fothersSonID = item.children.data.findIndex(
|
||||
child => child.id == menuTree.id
|
||||
)
|
||||
item.children.data[fothersSonID] = menuTree
|
||||
item.children.data[fothersSonID] = JSON.parse(JSON.stringify(menuTree))
|
||||
return item
|
||||
}, currentPage);
|
||||
this.items = menuTree.children.data;
|
||||
|
|
|
|||
Loading…
Reference in New Issue