Skip to content

Commit

Permalink
Version number updated
Browse files Browse the repository at this point in the history
  • Loading branch information
lacksfish authored and ShahanaFarooqui committed Jan 22, 2024
2 parents 22fdf64 + fc0409c commit bdd91db
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 8 deletions.
2 changes: 1 addition & 1 deletion frontend/index.html

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion frontend/main.4f7f075c33c518c3.js

This file was deleted.

1 change: 1 addition & 0 deletions frontend/main.54321ae149a7cfd5.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "rtl",
"version": "0.15.0-beta",
"version": "0.15.1-beta",
"license": "MIT",
"type": "module",
"scripts": {
"ng": "ng",
"start": "ng serve --open",
"prebuildfrontendtest": "node src/prebuild.cjs",
"prebuildfrontend": "node src/prebuild.cjs",
"watchfrontenddev": "ng build --configuration development --optimization false --watch",
"buildfrontendtest": "ng test --watch=false && ng build",
"buildfrontend": "ng build --configuration production",
"buildbackend": "tsc --project ./server/tsconfig.server.json",
Expand Down
4 changes: 2 additions & 2 deletions src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
<rtl-top-menu />
</div>
</mat-toolbar>
<mat-sidenav-container>
<mat-sidenav-container (backdropClick)="backdropClicked()">
<mat-sidenav #sideNavigation class="sidenav mat-elevation-z6" [perfectScrollbar] [opened]="flgSideNavOpened && flgLoggedIn" [mode]="(flgSidenavPinned && !smallScreen) ? 'side' : 'over'">
<rtl-side-navigation fxFlex="100" (ChildNavClicked)="onNavigationClicked($event)" />
</mat-sidenav>
<mat-sidenav-content #sideNavContent [perfectScrollbar]>
<div class="inner-sidenav-content" fxLayout="column" fxFlex="100" fxLayoutAlign="start stretch">
<router-outlet #outlet="outlet" />
</div>
</mat-sidenav-content>>
</mat-sidenav-content>
</mat-sidenav-container>
<div *ngIf="!settings.themeColor" class="rtl-spinner">
<mat-spinner color="accent" />
Expand Down
8 changes: 8 additions & 0 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,14 @@ export class AppComponent implements OnInit, AfterViewInit, OnDestroy {

onNavigationClicked(event: any) {
if (this.smallScreen) {
this.flgSideNavOpened = !this.flgSideNavOpened;
this.sideNavigation.close();
}
}

backdropClicked() {
if (!this.flgSidenavPinned || this.smallScreen) {
this.flgSideNavOpened = !this.flgSideNavOpened;
this.sideNavigation.close();
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/services/consts-enums-functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const HOUR_SECONDS = 3600;

export const DEFAULT_INVOICE_EXPIRY = HOUR_SECONDS * 24 * 7;

export const VERSION = '0.15.0-beta';
export const VERSION = '0.15.1-beta';

export const API_URL = isDevMode() ? 'http://localhost:3000/rtl/api' : './api';

Expand Down

0 comments on commit bdd91db

Please sign in to comment.