Skip to content

Commit 3317c74

Browse files
Gloria GuGarySmith
Gloria Gu
authored andcommitted
server pages clean up (#70)
This checkin includes: 1. Reduced unecessary states variables and varibles. 2. Minor lints clean up. 3. Rearranged the displayed roles order.
1 parent 92ea633 commit 3317c74

File tree

4 files changed

+105
-190
lines changed

4 files changed

+105
-190
lines changed

Diff for: api/api.json

-26
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,2 @@
11
{
2-
"availableServers": [
3-
{
4-
"id": 1000010015,
5-
"last_checkin": "<DateTime '20170728T18:23:19' at 7f5f4fcd8f38>",
6-
"name": "192.168.122.68",
7-
"outdated_pkg_count": 0
8-
},
9-
{
10-
"id": 1000010007,
11-
"last_checkin": "<DateTime '20170728T15:06:44' at 7f5f4fcd8fc8>",
12-
"name": "suma-refhead-min-centos7.mgr.suse.de",
13-
"outdated_pkg_count": 0
14-
},
15-
{
16-
"id": 1000010009,
17-
"last_checkin": "<DateTime '20170728T21:44:18' at 7f5f4fceb050>",
18-
"name": "suma-refhead-min-sles12sp2.mgr.suse.de",
19-
"outdated_pkg_count": 0
20-
},
21-
{
22-
"id": 1000010004,
23-
"last_checkin": "<DateTime '20170728T14:56:07' at 7f5f4fceb098>",
24-
"name": "suma-refhead-minssh-sles12sp2.mgr.suse.de",
25-
"outdated_pkg_count": 0
26-
}
27-
]
282
}

Diff for: src/components/ContextMenu.js

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import ReactDOM from 'react-dom';
33
import '../Deployer.css';
44
import { translate } from '../localization/localize.js';
55

6-
76
class ContextMenuItems extends Component {
87
constructor(props) {
98
super(props);

0 commit comments

Comments
 (0)