File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 45
45
< md-icon style ="color: #424242 "> help</ md-icon >
46
46
< md-tooltip > Open Automint Help</ md-tooltip >
47
47
</ md-button >
48
- < md-button ng-if ="vm .IsPasscodeEnabled() " aria-label ="Lock " class ="md-icon-button " ng-click ="headerVm.openLockScreen() ">
48
+ < md-button ng-if ="headerVm .IsPasscodeEnabled() " aria-label ="Lock " class ="md-icon-button " ng-click ="headerVm.openLockScreen() ">
49
49
< md-icon style ="color: #424242 "> lock</ md-icon >
50
50
< md-tooltip > Lock Screen</ md-tooltip >
51
51
</ md-button >
Original file line number Diff line number Diff line change 2
2
* Print document
3
3
* @author ndkcha
4
4
* @since 0.5.0
5
- * @version 0.5.0
5
+ * @version 0.8.2
6
6
*/
7
7
8
8
/// <reference path="../../typings/main.d.ts" />
27
27
height : 600
28
28
} ) ;
29
29
win . loadURL ( 'file://' + path ) ;
30
- setTimeout ( performPrint , 600 ) ;
30
+ win . webContents . on ( 'dom-ready' , performPrint ) ;
31
+ // setTimeout(performPrint, 600);
31
32
32
33
function performPrint ( ) {
33
34
win . webContents . print ( ) ;
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " Automint " ,
3
- "version" : " 0.8.1 " ,
2
+ "name" : " automint " ,
3
+ "version" : " 0.8.2 " ,
4
4
"description" : " CRM by Automint" ,
5
5
"main" : " main.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments