Skip to content

Commit f4e232c

Browse files
committed
Removed experimental code
1 parent 8b75cef commit f4e232c

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/app/app.component.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { Component, OnInit } from '@angular/core';
22
import { ThemeService } from './service/theme.service';
3-
import { environment } from '../environments/environment';
43

54
@Component({
65
selector: 'app-root',
@@ -23,18 +22,6 @@ export class AppComponent implements OnInit {
2322
this.menuIsOpen = false;
2423
}, 600);
2524
}
26-
27-
if (environment?.production === false) {
28-
fetch(
29-
'https://api.github.com/repos/devsecopsmaturitymodel/DevSecOps-MaturityModel/branches/v4'
30-
).then(async response => {
31-
let gitinfo: any = await response.json();
32-
let commitDate: string = gitinfo?.commit?.commit?.author?.date;
33-
if (commitDate) {
34-
this.subtitle = `Released: ${commitDate?.replace('T', ' ')}`;
35-
}
36-
});
37-
}
3825
}
3926

4027
toggleMenu(): void {

0 commit comments

Comments
 (0)