Skip to content

Commit

Permalink
Drop to layout fix (xibosignage#2149)
Browse files Browse the repository at this point in the history
  • Loading branch information
maurofmferrao authored Oct 11, 2023
1 parent c00c747 commit 6cd3193
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ui/src/layout-editor/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1343,10 +1343,11 @@ lD.dropItemAdd = function(droppable, draggable, dropPosition) {
// if it's going to be added as static widget or element
if (
draggableSubType === 'image' &&
// If droppable is a playlist or zone, do nothing
// If droppable is a playlist, drawer or zone, do nothing
!(
droppableIsPlaylist ||
droppableIsZone
droppableIsZone ||
droppableIsDrawer
)
) {
// Make a fake image element so it can go to the add element flow
Expand Down

0 comments on commit 6cd3193

Please sign in to comment.