cockpit/0002-selinux-temporary-remove-setroubleshoot-section.patch
Adam Majer 51da00818b - new version 321:
* Bug fixes and performance improvements
- vendor.tar.gz: dropped. Bundling now part of main tarball.
- update_version.sh: use instead of `osc service mr` to do version
  updates. updated README.packaging

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=186
2024-07-31 08:50:16 +00:00

14 lines
705 B
Diff

Index: cockpit-251.3/pkg/selinux/setroubleshoot-view.jsx
===================================================================
--- cockpit-251.3.orig/pkg/selinux/setroubleshoot-view.jsx
+++ cockpit-251.3/pkg/selinux/setroubleshoot-view.jsx
@@ -458,7 +458,7 @@ export class SETroubleshootPage extends
<PageSection>
<Stack hasGutter>
<StackItem>{modifications}</StackItem>
- <StackItem>{troubleshooting}</StackItem>
+ <StackItem>{ !this.props.connected || troubleshooting}</StackItem>
</Stack>
</PageSection>
</Page>