From 998efbaf724271d466e00c50f27441c069f80c5f Mon Sep 17 00:00:00 2001 From: phil Date: Sat, 6 Apr 2024 13:13:11 +0530 Subject: [PATCH 1/2] Fix custom plugin downloaders --- src/app/info/info-tools/downloader.component.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/info/info-tools/downloader.component.ts b/src/app/info/info-tools/downloader.component.ts index bfd3de7..695fdd9 100644 --- a/src/app/info/info-tools/downloader.component.ts +++ b/src/app/info/info-tools/downloader.component.ts @@ -22,6 +22,9 @@ export class DownloaderComponent implements OnInit { } execute() { - window.open('/downloader/' + this.downloader.name + '/' + this.source.modelInfo.store + '/' + this.source.featureInfo.id) + window.open('/api/download/plugin/' + + '/' + this.downloader.name + + '/' + this.source.modelInfo.store + + '/' + this.source.featureInfo.id) } } \ No newline at end of file From 846fe6425da5b18951a89f96fb611bf7a0d348c9 Mon Sep 17 00:00:00 2001 From: phil Date: Tue, 9 Apr 2024 16:20:35 +0530 Subject: [PATCH 2/2] Admin baskets: fix/update download, get file, import Cleanups --- .../admin/admin-basket/basket.component.html | 2 +- .../admin/admin-basket/basket.component.ts | 2 +- src/app/admin/admin-basket/data.service.ts | 130 ++---------------- src/app/admin/admin-data.service.ts | 27 +--- src/app/admin/admin-resolver.service.ts | 1 - src/app/openapi/core/OpenAPI.ts | 2 +- src/app/openapi/models.ts | 16 ++- src/app/openapi/schemas.ts | 31 ++++- src/app/openapi/services.ts | 126 ++++++++++++++++- 9 files changed, 184 insertions(+), 153 deletions(-) diff --git a/src/app/admin/admin-basket/basket.component.html b/src/app/admin/admin-basket/basket.component.html index 77e8918..ef9bb03 100644 --- a/src/app/admin/admin-basket/basket.component.html +++ b/src/app/admin/admin-basket/basket.component.html @@ -7,7 +7,7 @@ (input)="applyFilter()" matTooltip="Filter the items of the basket from the table" [(ngModel)]="filterText"/> -