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

This commit is contained in:
Garrett Mills 2021-02-04 15:15:10 -06:00
parent 0e0a36db72
commit 53a6d6d316
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -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() {