Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
457ba1bee5
|
|||
22db10a31e
|
|||
4f88ac5d0e
|
|||
3ae92c020c
|
|||
d098317331
|
@ -3,7 +3,7 @@ from flask_cors import CORS
|
||||
|
||||
# instantiate the webservice
|
||||
app = connexion.App(__name__)
|
||||
app.add_api('openapi.yaml')
|
||||
app.add_api('openapi.yaml', options = {"swagger_ui": False})
|
||||
|
||||
# CORSify it - otherwise Angular won't accept it
|
||||
CORS(app.app,
|
||||
|
@ -2,7 +2,8 @@
|
||||
<mat-sidenav #drawer class="sidenav" fixedInViewport
|
||||
[attr.role]="(isHandset$ | async) ? 'dialog' : 'navigation'"
|
||||
[mode]="(isHandset$ | async) ? 'over' : 'side'"
|
||||
[opened]="(isHandset$ | async) === false">
|
||||
[opened]="(isHandset$ | async) === false"
|
||||
*ngIf="authenticated">
|
||||
<mat-toolbar>Menu</mat-toolbar>
|
||||
<mat-nav-list>
|
||||
<a mat-list-item href="/tenants">Meine Mieter/innen</a>
|
||||
@ -37,7 +38,7 @@
|
||||
<!-- Add Content Here -->
|
||||
|
||||
<router-outlet></router-outlet>
|
||||
<app-messages></app-messages>
|
||||
<app-messages *ngIf="authenticated"></app-messages>
|
||||
|
||||
</mat-sidenav-content>
|
||||
</mat-sidenav-container>
|
||||
|
Reference in New Issue
Block a user