Skip to content

Commit 949bbed

Browse files
committed
css for side menu and route fixes
1 parent 438cddc commit 949bbed

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

electron/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if (handleSquirrelEvent()) {
1212
return;
1313
}
1414

15-
const ESC = "\x1b";
15+
const ESC = "@";
1616
const GS="\x1d";
1717
const NUL="\x00";
1818

@@ -33,6 +33,7 @@ if (!String.prototype.padEnd) {
3333
};
3434
}
3535

36+
3637
function execute(command){
3738
exec(command, function(error, stdout, stderr){ console.log(stdout); });
3839
}

src/app/side-menu/side-menu.component.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,31 +60,31 @@ <h4 class="bgc-blue-300">Stocks</h4>
6060
<a
6161
[routerLinkActive]="['active']"
6262
[routerLinkActiveOptions]="{exact:true}"
63-
[routerLink]="['/stocks/stocks']">Stocks</a>
63+
[routerLink]="['/stock/stocks']">Stocks</a>
6464
</li>
6565
<li>
6666
<a
6767
[routerLinkActive]="['active']"
6868
[routerLinkActiveOptions]="{exact:true}"
69-
[routerLink]="['/stocks/expiry']">Expiry</a>
69+
[routerLink]="['/stock/expiry']">Expiry</a>
7070
</li>
7171
<li>
7272
<a
7373
[routerLinkActive]="['active']"
7474
[routerLinkActiveOptions]="{exact:true}"
75-
[routerLink]="['/stocks/Shortage']">Shortage</a>
75+
[routerLink]="['/stock/Shortage']">Shortage</a>
7676
</li>
7777
<li>
7878
<a
7979
[routerLinkActive]="['active']"
8080
[routerLinkActiveOptions]="{exact:true}"
81-
[routerLink]="['/stocks/add-stocks']">Add Stocks</a>
81+
[routerLink]="['/stock/add-stocks']">Add Stocks</a>
8282
</li>
8383
<li>
8484
<a
8585
[routerLinkActive]="['active']"
8686
[routerLinkActiveOptions]="{exact:true}"
87-
[routerLink]="['/stocks/bills']">Purchase History</a>
87+
[routerLink]="['/stock/bills']">Purchase History</a>
8888
</li>
8989
</ul>
9090
</nav>

src/app/side-menu/side-menu.component.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ ul {
2323
border-bottom: 1px solid rgba(0,0,0,.06);
2424
margin: 0;
2525
padding: 0;
26+
background-color: white;
2627
color: rgba(0,0,0,.54);
2728
a {
2829
box-sizing: border-box;

0 commit comments

Comments
 (0)