|
@@ -232,7 +232,11 @@ class RevisionSection extends Component<PropsType, StateType> {
|
|
|
<RollbackButton
|
|
<RollbackButton
|
|
|
disabled={
|
|
disabled={
|
|
|
isCurrent ||
|
|
isCurrent ||
|
|
|
- !this.props.isAuthorized("application", "", ["get", "update"])
|
|
|
|
|
|
|
+ !this.props.isAuthorized("application", "", [
|
|
|
|
|
+ "get",
|
|
|
|
|
+ "update",
|
|
|
|
|
+ ]) ||
|
|
|
|
|
+ this.props.chart.is_stack
|
|
|
}
|
|
}
|
|
|
onClick={() =>
|
|
onClick={() =>
|
|
|
this.setState({ rollbackRevision: revision.version })
|
|
this.setState({ rollbackRevision: revision.version })
|