feat: Drag document into starred section to star

This commit is contained in:
Tom Moor
2023-12-19 09:33:36 -05:00
parent d8c6257429
commit c1b2d3c4a7
4 changed files with 66 additions and 15 deletions

View File

@@ -343,7 +343,7 @@ export default class Document extends ParanoidModel {
};
@action
star = () => this.store.star(this);
star = (index?: string) => this.store.star(this, index);
@action
unstar = () => this.store.unstar(this);