projects
/
osm
/
UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Launchpad RBAC
[osm/UI.git]
/
skyquake
/
plugins
/
launchpad
/
src
/
launchpad_card
/
launchpadCard.jsx
diff --git
a/skyquake/plugins/launchpad/src/launchpad_card/launchpadCard.jsx
b/skyquake/plugins/launchpad/src/launchpad_card/launchpadCard.jsx
index
e68a659
..
8154046
100644
(file)
--- a/
skyquake/plugins/launchpad/src/launchpad_card/launchpadCard.jsx
+++ b/
skyquake/plugins/launchpad/src/launchpad_card/launchpadCard.jsx
@@
-1,6
+1,6
@@
/*
/*
- *
+ *
* Copyright 2016 RIFT.IO Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Copyright 2016 RIFT.IO Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-98,7
+98,7
@@
class LaunchpadCard extends React.Component {
<img src={circleXImage} title="Close card" />
</a>
);
<img src={circleXImage} title="Close card" />
</a>
);
-
+ if (this.props.hasAccess) closebutton = null;
html = (
<DashboardCard className={'launchpadCard'} closeCard={closeButton}>
<LaunchpadHeader nsr={this.props.nsr} name={this.props.name} isActive={this.props.isActive} id={this.props.id}/>
html = (
<DashboardCard className={'launchpadCard'} closeCard={closeButton}>
<LaunchpadHeader nsr={this.props.nsr} name={this.props.name} isActive={this.props.isActive} id={this.props.id}/>