This is an automated email from the ASF dual-hosted git repository. SvenO3 pushed a commit to branch 4568-allow-reordering-and-restructuring-of-assets-in-asset-view-edit-mode in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit 7c13c5466a0f91b57155efbe043eceba3c5f5720 Author: Sven Oehler <[email protected]> AuthorDate: Mon Jun 22 10:38:50 2026 +0200 Add translations --- ui/deployment/i18n/de.json | 1 + ui/deployment/i18n/en.json | 1 + ui/deployment/i18n/pl.json | 1 + .../asset-selection-panel/asset-selection-panel.component.ts | 3 +-- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/deployment/i18n/de.json b/ui/deployment/i18n/de.json index a5d72cf6a9..a141b0f864 100644 --- a/ui/deployment/i18n/de.json +++ b/ui/deployment/i18n/de.json @@ -871,6 +871,7 @@ "Rename files": "Dateien umbenennen", "Rename the changed fields": "Geänderte Felder umbenennen", "Rename the fields with changed data types by using the \"Field Renamer\" data processor": "Benennen Sie die Felder mit geänderten Datentypen mit dem Datenprozessor \"Field Renamer\" um", + "Reorder asset": "Asset neu anordnen", "Repeat password": "Passwort wiederholen", "Replace existing": "Vorhandene ersetzen", "Replace existing documents with the same ID": "Vorhandene Dokumente mit derselben ID ersetzen", diff --git a/ui/deployment/i18n/en.json b/ui/deployment/i18n/en.json index f4b2ed0f2d..206d29360b 100644 --- a/ui/deployment/i18n/en.json +++ b/ui/deployment/i18n/en.json @@ -871,6 +871,7 @@ "Rename files": null, "Rename the changed fields": null, "Rename the fields with changed data types by using the \"Field Renamer\" data processor": null, + "Reorder asset": null, "Repeat password": null, "Replace existing": null, "Replace existing documents with the same ID": null, diff --git a/ui/deployment/i18n/pl.json b/ui/deployment/i18n/pl.json index 4ff88dd0b2..a58df1f850 100644 --- a/ui/deployment/i18n/pl.json +++ b/ui/deployment/i18n/pl.json @@ -871,6 +871,7 @@ "Rename files": "Zmień nazwy plików", "Rename the changed fields": "Zmień nazwy zmienionych pól", "Rename the fields with changed data types by using the \"Field Renamer\" data processor": "Zmień nazwy pól ze zmienionymi typami danych za pomocą procesora danych \"Field Renamer\"", + "Reorder asset": "Zmień kolejność zasobu", "Repeat password": "Powtórz hasło", "Replace existing": "Zastąp istniejące", "Replace existing documents with the same ID": "Zastąp istniejące dokumenty o tym samym ID", diff --git a/ui/src/app/assets/components/asset-details/edit-asset/asset-selection-panel/asset-selection-panel.component.ts b/ui/src/app/assets/components/asset-details/edit-asset/asset-selection-panel/asset-selection-panel.component.ts index e018a4fbfa..bf96ff0479 100644 --- a/ui/src/app/assets/components/asset-details/edit-asset/asset-selection-panel/asset-selection-panel.component.ts +++ b/ui/src/app/assets/components/asset-details/edit-asset/asset-selection-panel/asset-selection-panel.component.ts @@ -301,10 +301,9 @@ export class SpAssetSelectionPanelComponent implements OnInit, OnDestroy { } private findAssetByDropListId(dropListId: string): SpAsset | undefined { - const dropTarget = this.getAllAssets(this.assetModel).find( + return this.getAllAssets(this.assetModel).find( node => this.getDropTargetId(node) === dropListId, ); - return dropTarget; } private scheduleHoverExpand(node: SpAsset): void {
