1, 'align-center': historyTimewindowOptions.length <= 1 }">
+
+
{{ 'timewindow.time-range' | translate }}
+
1">
+
+
+
+
diff --git a/ui-ngx/src/app/shared/components/time/timewindow-panel.component.ts b/ui-ngx/src/app/shared/components/time/timewindow-panel.component.ts
index ac29d4aaa5..d3cf61ba88 100644
--- a/ui-ngx/src/app/shared/components/time/timewindow-panel.component.ts
+++ b/ui-ngx/src/app/shared/components/time/timewindow-panel.component.ts
@@ -125,7 +125,7 @@ export class TimewindowPanelComponent extends PageComponent implements OnInit {
});
}
- if (this.isEdit || (!this.timewindow.hideLastInterval && !this.quickIntervalOnly)) {
+ if ((this.isEdit || !this.timewindow.hideLastInterval) && !this.quickIntervalOnly) {
this.realtimeTimewindowOptions.push({
name: this.translate.instant('timewindow.last'),
value: this.realtimeTypes.LAST_INTERVAL
diff --git a/ui-ngx/src/form.scss b/ui-ngx/src/form.scss
index c9580bcf74..661f4bccc7 100644
--- a/ui-ngx/src/form.scss
+++ b/ui-ngx/src/form.scss
@@ -293,6 +293,12 @@
&.align-center {
align-items: center;
}
+ &.align-start {
+ align-items: start;
+ }
+ &.align-end {
+ align-items: end;
+ }
&.no-gap {
gap: 0;
}