-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove mutualized api functions #440
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code: elementExists to remove
tests: partially done, sounds OK. To be continued after merge wConflcts + CR
@@ -783,13 +778,8 @@ const ContentContextualMenu = (props) => { | |||
activeElement.specificMetadata.equipmentType, | |||
}} | |||
activeDirectory={activeDirectory} | |||
fetchAppsAndUrls={fetchAppsAndUrls} | |||
elementExists={elementExists} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
elementExists is no more part of this component in commons-ui
@@ -384,12 +380,8 @@ const DirectoryTreeContextualMenu = (props) => { | |||
open={true} | |||
onClose={handleCloseDialog} | |||
activeDirectory={activeDirectory} | |||
fetchAppsAndUrls={fetchAppsAndUrls} | |||
elementExists={elementExists} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here, many places where we have to remove elementExists prop
src/utils/rest-api.js
Outdated
@@ -10,7 +10,13 @@ import { store } from '../redux/store'; | |||
import ReconnectingWebSocket from 'reconnecting-websocket'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
elementExists should be removed from here
09b8cf0
to
0140385
Compare
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Need #475
Depends on gridsuite/commons-ui#455