+
+
Letztes Check-in
+ {{
+ keyResult.lastCheckIn == null ? "Keines" : (keyResult!.lastCheckIn!.createdOn | date: DATE_FORMAT)
+ }}
-
-
Confidence
+
+
Confidence
-
-
{{ objective.title }}
+
+ {{ objective.title }}
-
+
-
-
Beschrieb
+
+ Beschrieb
-
+
{{ objective.description }}
@@ -47,7 +47,7 @@
{{ objective.title }}
Objective bearbeiten
-
+
diff --git a/frontend/src/app/components/objective-detail/objective-detail.component.scss b/frontend/src/app/components/objective-detail/objective-detail.component.scss
index df5ca6aea7..b9bc65ea45 100644
--- a/frontend/src/app/components/objective-detail/objective-detail.component.scss
+++ b/frontend/src/app/components/objective-detail/objective-detail.component.scss
@@ -1,7 +1,3 @@
:host {
width: 100%;
}
-
-.sub-title-objective {
- font-size: 1rem;
-}
diff --git a/frontend/src/app/components/objective-detail/objective-detail.component.spec.ts b/frontend/src/app/components/objective-detail/objective-detail.component.spec.ts
index 2568cc3c0d..8a397f7582 100644
--- a/frontend/src/app/components/objective-detail/objective-detail.component.spec.ts
+++ b/frontend/src/app/components/objective-detail/objective-detail.component.spec.ts
@@ -56,8 +56,8 @@ describe('ObjectiveDetailComponent', () => {
it('get data from backend', () => {
fixture.detectChanges();
component.objectiveId = 2;
- const title = fixture.debugElement.query(By.css('.title')).nativeElement.innerHTML;
- const description = fixture.debugElement.query(By.css('[data-test-id="description"]')).nativeElement.innerHTML;
+ const title = fixture.debugElement.query(By.css('[data-testId="objective-title"]'))?.nativeElement.innerHTML;
+ const description = fixture.debugElement.query(By.css('[data-testId="description"]'))?.nativeElement.innerHTML;
expect(title).toContain(objective.title);
expect(description).toContain(objective.description);
});
diff --git a/frontend/src/app/components/objective-filter/objective-filter.component.html b/frontend/src/app/components/objective-filter/objective-filter.component.html
index 8b9f1f6b68..b1392ebd18 100644
--- a/frontend/src/app/components/objective-filter/objective-filter.component.html
+++ b/frontend/src/app/components/objective-filter/objective-filter.component.html
@@ -1,4 +1,4 @@
-