#78 - file box color for sidebar icon; delete file box on node delete
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0e0a36db72
commit
53a6d6d316
@ -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…
Reference in New Issue
Block a user