Skip to content
This repository was archived by the owner on Apr 30, 2023. It is now read-only.

Commit 86471dd

Browse files
authored
Merge pull request #395 from mareklibra/featureGate
Pass list of enabled features
2 parents 421d40a + a4c1d2e commit 86471dd

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"lodash": "^4.17.15",
4242
"netmask": "^1.0.6",
4343
"node-sass": "^4.13.1",
44-
"openshift-assisted-ui-lib": "^1.5.7",
44+
"openshift-assisted-ui-lib": "^1.5.7-1",
4545
"prettier": "^2.0.1",
4646
"prism-react-renderer": "^1.1.1",
4747
"react": "^16.13.0",

src/components/App.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { Provider } from 'react-redux';
33
import { Router } from 'react-router-dom';
44
import { Page } from '@patternfly/react-core';
5-
import { Store, Router as LibRouter } from 'openshift-assisted-ui-lib';
5+
import { Store, Router as LibRouter, Features } from 'openshift-assisted-ui-lib';
66
import history from '../history';
77
import Header from './ui/Header';
88
// import Sidebar from './Sidebar';
@@ -23,7 +23,7 @@ const App: React.FC = () => (
2323
isManagedSidebar // enable this to automatically hide sidebar in mobile
2424
defaultManagedSidebarIsOpen={false}
2525
>
26-
<LibRouter />
26+
<LibRouter features={Features.STANDALONE_DEPLOYMENT_ENABLED_FEATURES} />
2727
</Page>
2828
</Router>
2929
</Provider>

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -8690,10 +8690,10 @@ open@^7.0.2:
86908690
is-docker "^2.0.0"
86918691
is-wsl "^2.1.1"
86928692

8693-
openshift-assisted-ui-lib@^1.5.7:
8694-
version "1.5.7"
8695-
resolved "https://registry.yarnpkg.com/openshift-assisted-ui-lib/-/openshift-assisted-ui-lib-1.5.7.tgz#7dc8a6372b0d25ad761b28f26160182918e08aab"
8696-
integrity sha512-dLhMqbKBBf+WiTwJgReWD95XxWAEROWVYNxkA9Ri8fZxQNc8L0PccP1y6ZsePObBkN7VHGAka5PJl6wKpqK/ng==
8693+
openshift-assisted-ui-lib@^1.5.7-1:
8694+
version "1.5.7-1"
8695+
resolved "https://registry.yarnpkg.com/openshift-assisted-ui-lib/-/openshift-assisted-ui-lib-1.5.7-1.tgz#4a42c36bbbc6958550814a0c3dfa1c04d6c0b355"
8696+
integrity sha512-bTbvMtaOVTbdnu53El5NpGkxrJB86gmff9vZvr4UW92aOuPwDXcW7XNXbzxKOEN8emKhZr6ObhICsNp7D3A2BA==
86978697
dependencies:
86988698
axios-case-converter "^0.6.0"
86998699
ip-address "^7.1.0"

0 commit comments

Comments
 (0)