Skip to content

Commit

Permalink
fix: [ExoDrawer component] When using attribute attached on a second …
Browse files Browse the repository at this point in the history
…level drawer, the drawer is not attached to the application

Before this fix, when the ExoDrawerComponent is used with attached parameter, with a second level drawer, the drawer is not attached to the application.
This is due to a test which verify if there is more that one opened drawer.
This test comes from olf part of the code and is no more necessary.

Resolved Meeds-io/meeds#2226
  • Loading branch information
rdenarie committed Jun 24, 2024
1 parent 88180d0 commit e660b13
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ export default {
},
methods: {
open() {
if (!this.attached || eXo.openedDrawers.length) {
if (!this.attached) {
// Re-append the drawer to open in order
// to ensure to attribute an adequate z-index
// Which makes it displayed on top of other already
Expand Down Expand Up @@ -331,4 +331,4 @@ export default {
},
},
};
</script>
</script>

0 comments on commit e660b13

Please sign in to comment.