File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ export default function UpdateNotification() {
123123 </ Button >
124124
125125 < Dialog open = { showDialog } onOpenChange = { setShowDialog } >
126- < DialogContent className = "max-w-2xl" >
126+ < DialogContent className = "max-w-2xl p-4 " >
127127 < DialogHeader >
128128 < DialogTitle > Update Available</ DialogTitle >
129129 < DialogDescription > A new version of SCANOSS Code Compare is available.</ DialogDescription >
Original file line number Diff line number Diff line change @@ -5,10 +5,14 @@ import {context} from '../models';
55
66export function ApplyUpdate ( arg1 :string ) :Promise < void > ;
77
8+ export function CheckForFailedUpdate ( ) :Promise < void > ;
9+
810export function CheckForUpdate ( ) :Promise < entities . UpdateInfo > ;
911
1012export function DownloadUpdate ( arg1 :entities . UpdateInfo ) :Promise < string > ;
1113
1214export function GetCurrentVersion ( ) :Promise < string > ;
1315
1416export function SetContext ( arg1 :context . Context ) :Promise < void > ;
17+
18+ export function VerifyUpdateSuccess ( ) :Promise < void > ;
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ export function ApplyUpdate(arg1) {
66 return window [ 'go' ] [ 'service' ] [ 'UpdateServiceImpl' ] [ 'ApplyUpdate' ] ( arg1 ) ;
77}
88
9+ export function CheckForFailedUpdate ( ) {
10+ return window [ 'go' ] [ 'service' ] [ 'UpdateServiceImpl' ] [ 'CheckForFailedUpdate' ] ( ) ;
11+ }
12+
913export function CheckForUpdate ( ) {
1014 return window [ 'go' ] [ 'service' ] [ 'UpdateServiceImpl' ] [ 'CheckForUpdate' ] ( ) ;
1115}
@@ -21,3 +25,7 @@ export function GetCurrentVersion() {
2125export function SetContext ( arg1 ) {
2226 return window [ 'go' ] [ 'service' ] [ 'UpdateServiceImpl' ] [ 'SetContext' ] ( arg1 ) ;
2327}
28+
29+ export function VerifyUpdateSuccess ( ) {
30+ return window [ 'go' ] [ 'service' ] [ 'UpdateServiceImpl' ] [ 'VerifyUpdateSuccess' ] ( ) ;
31+ }
You can’t perform that action at this time.
0 commit comments