You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ho...@apache.org on 2026/08/10 13:30:16 UTC

(streampipes) 08/08: dataset

This is an automated email from the ASF dual-hosted git repository.

JHoelli pushed a commit to branch 1381-cleanup-duplicated-testing-logic
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit fbc60a600e8b77b994d000e66e7dc140981028c1
Author: Jacqueline Höllig <j....@gmx.net>
AuthorDate: Mon Aug 10 13:29:16 2026 +0000

    dataset
---
 .../dataset-overview/dataset-overview.component.html     | 16 ++++++++--------
 .../dataset-overview/dataset-overview.component.ts       |  2 +-
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/ui/src/app/dataset/components/dataset-overview/dataset-overview.component.html b/ui/src/app/dataset/components/dataset-overview/dataset-overview.component.html
index d78da45fd0..cbfbce5908 100644
--- a/ui/src/app/dataset/components/dataset-overview/dataset-overview.component.html
+++ b/ui/src/app/dataset/components/dataset-overview/dataset-overview.component.html
@@ -233,6 +233,14 @@
                             <mat-icon>local_fire_department</mat-icon>
                             <span>{{ 'Truncate data' | translate }}</span>
                         </button>
+                        <button
+                            mat-menu-item
+                            [attr.data-cy]="'open-manage-' + element.name"
+                            (click)="showPermissionsDialog(element)"
+                        >
+                            <mat-icon>share</mat-icon>
+                            <span>{{ 'Manage permissions' | translate }}</span>
+                        </button>
                         <button
                             mat-menu-item
                             data-cy="datalake-delete-btn"
@@ -242,14 +250,6 @@
                             <mat-icon>delete</mat-icon>
                             <span>{{ 'Delete dataset' | translate }}</span>
                         </button>
-                        <button
-                            mat-menu-item
-                            [attr.data-cy]="'open-manage-' + element.name"
-                            (click)="showPermissionsDialog(element)"
-                        >
-                            <mat-icon>share</mat-icon>
-                            <span>{{ 'Manage permissions' | translate }}</span>
-                        </button>
                     }
                 </ng-template>
             </sp-table>
diff --git a/ui/src/app/dataset/components/dataset-overview/dataset-overview.component.ts b/ui/src/app/dataset/components/dataset-overview/dataset-overview.component.ts
index b5b4d324ca..c3b29c991e 100644
--- a/ui/src/app/dataset/components/dataset-overview/dataset-overview.component.ts
+++ b/ui/src/app/dataset/components/dataset-overview/dataset-overview.component.ts
@@ -470,7 +470,7 @@ export class DatasetOverviewComponent
                     width: '50vw',
                     data: {
                         objectInstanceId: element.elementId,
-                        dataset,
+                        resource: dataset,
                         saveMode: 'immediate',
                         resourceConfig,
                         headerTitle: