mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
refactor(views/table): better cleanup
This commit is contained in:
parent
504a19275c
commit
f3350bc8f5
@ -10,11 +10,12 @@ import { renameColumn } from "./bulk_actions";
|
||||
export default class TableColumnEditing extends Component {
|
||||
|
||||
private attributeDetailWidget: AttributeDetailWidget;
|
||||
private api: Tabulator;
|
||||
private parentNote: FNote;
|
||||
|
||||
private newAttribute?: Attribute;
|
||||
private newAttributePosition?: number;
|
||||
private existingAttributeToEdit?: Attribute;
|
||||
private api: Tabulator;
|
||||
private newAttribute?: Attribute;
|
||||
private parentNote: FNote;
|
||||
|
||||
constructor($parent: JQuery<HTMLElement>, parentNote: FNote, api: Tabulator) {
|
||||
super();
|
||||
@ -95,7 +96,9 @@ export default class TableColumnEditing extends Component {
|
||||
}
|
||||
|
||||
resetNewAttributePosition() {
|
||||
this.newAttributePosition = 0;
|
||||
this.newAttribute = undefined;
|
||||
this.newAttributePosition = undefined;
|
||||
this.existingAttributeToEdit = undefined;
|
||||
}
|
||||
|
||||
getFAttributeFromField(field: string) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user