Web IDE Link: Hide button if empty
What does this MR do and why?
Web IDE Link: Hide button if empty
The if
statement is currently not set on the parent div which causes a regression if the button is hidden as it renders an empty div.
This MR moves the statement to the root element to avoid that.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Create a new project, init with README
- Go to settings, archive the project (http://gdk.test:3000/flightjs/the-archived-project/editjs-project-advanced-settings)
- Check project overview page
👀
Related to #424397 (closed)
Edited by Sascha Eggenberger