change export directory

This commit is contained in:
2022-12-28 07:51:41 +01:00
parent 149734cb19
commit 2bdea63c0a
3 changed files with 6 additions and 7 deletions

View File

@@ -65,7 +65,8 @@ export class DataSetEditComponent implements OnInit {
}
async parseGoogleSheet() {
const id = this.form.get('sheetId')?.value;
this.document.dataRows = await DataSet.parseGoogleSheet(id, this.http$);
this.document = await DataSet.parseGoogleSheet(id, this.http$);
this.document.fillForm(this.form);
this.dataSource = new MatTableDataSource(this.document.dataRows);
this.dataSource.paginator = this.paginator;
this.dataSource.sort = this.sort;