Skip to content

Commit e8f254d

Browse files
KKoukioumartinpitt
authored andcommitted
pkg: storaged: rename 'storage-anaconda' class to 'anaconda'
Anaconda class will be now used to identify all cockpit plugins when used under anaconda mode. Now it's just anaconda-webui and storaged, but possibly will be extended in the future.
1 parent 37a86b5 commit e8f254d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/storaged/pages.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ export const StoragePage = ({ location, plot_state }) => {
847847
const page = get_page_from_location(location);
848848

849849
return (
850-
<Page id="storage" className={"no-masthead-sidebar" + (client.in_anaconda_mode() ? " storage-anaconda" : "")}>
850+
<Page id="storage" className={"no-masthead-sidebar" + (client.in_anaconda_mode() ? " anaconda" : "")}>
851851
{ (!client.in_anaconda_mode() && page.parent) &&
852852
<PageBreadcrumb hasBodyWrapper={false} stickyOnBreakpoint={{ default: "top" }}>
853853
<StorageBreadcrumb page={page} />

pkg/storaged/storage-anaconda.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Anaconda mode
2-
#storage.storage-anaconda {
2+
#storage.anaconda {
33
.pf-v6-c-page__main-container {
44
border-radius: 0;
55
margin: 0;

0 commit comments

Comments
 (0)