We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b75cef commit f4e232cCopy full SHA for f4e232c
1 file changed
src/app/app.component.ts
@@ -1,6 +1,5 @@
1
import { Component, OnInit } from '@angular/core';
2
import { ThemeService } from './service/theme.service';
3
-import { environment } from '../environments/environment';
4
5
@Component({
6
selector: 'app-root',
@@ -23,18 +22,6 @@ export class AppComponent implements OnInit {
23
22
this.menuIsOpen = false;
24
}, 600);
25
}
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
38
39
40
toggleMenu(): void {
0 commit comments