Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -134,18 +134,21 @@
</button>
</sp-time-selector-menu>
</mat-menu>
<button
mat-icon-button
(click)="removeWidget()"
[matTooltip]="'Delete Chart' | translate"
*ngIf="editMode && hasDataExplorerWritePrivileges"
[attr.data-cy]="
'remove-' +
configuredWidget.baseAppearanceConfig.widgetTitle
"
>
<mat-icon>clear</mat-icon>
</button>
@if (!dataViewMode) {
<button
mat-icon-button
(click)="removeWidget()"
[matTooltip]="'Delete Chart' | translate"
*ngIf="editMode && hasDataExplorerWritePrivileges"
[attr.data-cy]="
'remove-' +
configuredWidget.baseAppearanceConfig
.widgetTitle
"
>
<mat-icon>clear</mat-icon>
</button>
}
</div>
}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,17 @@
</div>
</div>
<mat-divider></mat-divider>
<div class="sp-dialog-actions">
<div class="sp-dialog-actions" fxLayoutGap="10px">
<button
mat-flat-button
color="accent"
(click)="hide(false)"
*ngIf="operationCompleted"
>
Create another pipeline
</button>
<button
mat-flat-button
color="accent"
class="mat-basic"
data-cy="sp-navigate-to-pipeline-overview"
(click)="navigateToPipelineOverview()"
*ngIf="operationCompleted"
Expand All @@ -75,11 +74,9 @@
operationProgress ||
operationCompleted
"
mat-button
mat-flat-button
color="accent"
(click)="savePipeline()"
style="margin-right: 10px"
data-cy="sp-editor-apply"
>
Apply
Expand All @@ -88,7 +85,6 @@
*ngIf="
!operationProgress && (!operationCompleted || !operationSuccess)
"
mat-button
mat-flat-button
class="mat-basic"
(click)="hide(true)"
Expand Down
Loading