Skip to content

Commit

Permalink
build 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
tonmoyvalcon committed Jan 7, 2024
1 parent 2de58a3 commit 5abfa83
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
<style>.mat-typography{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}body,html{height:100%}body{margin:0;font-family:Roboto,Helvetica Neue,sans-serif;background:#49228d}</style><link rel="stylesheet" href="styles.502454d5a4c2716a2b7d.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.502454d5a4c2716a2b7d.css"></noscript></head>
<body class="mat-typography">
<app-root></app-root>
<script src="runtime.6cc268077916cdf6575e.js" defer></script><script src="polyfills.330eca89cad7ccff1cf2.js" defer></script><script src="main.2087ec59dd19a80c099c.js" defer></script>
<script src="runtime.6cc268077916cdf6575e.js" defer></script><script src="polyfills.330eca89cad7ccff1cf2.js" defer></script><script src="main.2974ea48bd3e4e16bc3e.js" defer></script>

</body></html>

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/app/service/transaction.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class TransactionService {
constructor(private restService:RestService) { }

fetch() {
const mobileNo: any = window.sessionStorage.getItem('_user');
const mobileNo: any = window.localStorage.getItem('_user');
if (mobileNo) {
this.restService.getContent(mobileNo+'/config.json').subscribe((response:any)=>{
this.configSha = response.sha;
Expand Down Expand Up @@ -65,7 +65,7 @@ export class TransactionService {
updateTransactions() {
const transactions = this.getAllTransactions();
if (this.getLocalData('_t').length >0) {
const mobileNo: any = window.sessionStorage.getItem('_user');
const mobileNo: any = window.localStorage.getItem('_user');
this.restService.update(mobileNo + '/transactions.json', 'Update Transactions of ' + mobileNo, transactions, this.transactionSha).subscribe((response: any) => {
window.localStorage.setItem('_t', JSON.stringify([]));
});
Expand All @@ -90,7 +90,7 @@ export class TransactionService {
users: this.getAllUsers(),
category: this.getAllCategory()
}
const mobileNo: any = window.sessionStorage.getItem('_user');
const mobileNo: any = window.localStorage.getItem('_user');
this.restService.update(mobileNo + '/config.json', 'Update Config of ' + mobileNo, body, this.configSha).subscribe((response: any) => {
this.configSha = response.content.sha;
});
Expand Down

0 comments on commit 5abfa83

Please sign in to comment.