#78 - file box color for sidebar icon; delete file box on node delete
continuous-integration/drone/push Build is passing Details

master
Garrett Mills 3 years ago
parent 0e0a36db72
commit 53a6d6d316
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

@ -30,7 +30,7 @@
}
}
&.files {
&.files, &.file_box {
.tree-node-icon {
color: var(--noded-background-files);
}

@ -173,7 +173,8 @@ export class FileBoxComponent extends EditorNodeContract implements OnInit {
}
public async performDelete(): Promise<void> {
const baseRecord = this.history.length > 0 ? this.history[0] : this.record;
await this.api.deleteFileBox(this.page.UUID, baseRecord.UUID);
}
ngOnInit() {

Loading…
Cancel
Save