Code Review
/
src
/
xds
/
xds-agent.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Migration to AGL gerrit (update go import)
[src/xds/xds-agent.git]
/
webapp
/
src
/
app
/
pages
/
sdks
/
sdks.component.ts
diff --git
a/webapp/src/app/pages/sdks/sdks.component.ts
b/webapp/src/app/pages/sdks/sdks.component.ts
index
12d2f71
..
aa7524c
100644
(file)
--- a/
webapp/src/app/pages/sdks/sdks.component.ts
+++ b/
webapp/src/app/pages/sdks/sdks.component.ts
@@
-1,6
+1,6
@@
/**
* @license
/**
* @license
-* Copyright (C) 2017 "IoT.bzh"
+* Copyright (C) 2017
-2018
"IoT.bzh"
* Author Sebastien Douheret <sebastien@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Author Sebastien Douheret <sebastien@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-21,7
+21,7
@@
import { Observable } from 'rxjs/Observable';
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
-import { SdkService, ISdk } from '../../@core-xds/services/sdk.service';
+import { SdkService, ISdk
, StatusType
} from '../../@core-xds/services/sdk.service';
@Component({
selector: 'xds-sdks',
@Component({
selector: 'xds-sdks',
@@
-44,6
+44,6
@@
export class SdksComponent implements OnInit {
}
isVisible(sdk: ISdk) {
}
isVisible(sdk: ISdk) {
- return sdk.status ===
'Installed' || sdk.status === 'Installing'
;
+ return sdk.status ===
StatusType.INSTALLED || sdk.status === StatusType.INSTALLING
;
}
}
}
}