mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-22 17:32:18 +00:00
update(Dashboard Widget Drag): shows hidden widget when dragging the widget on the dashboard
This commit is contained in:
@@ -434,6 +434,8 @@ export default {
|
|||||||
clone.style.zIndex = 5;
|
clone.style.zIndex = 5;
|
||||||
clone.classList.add("widgetClone");
|
clone.classList.add("widgetClone");
|
||||||
this.$refs.container.appendChild(clone);
|
this.$refs.container.appendChild(clone);
|
||||||
|
const hiddenWidget = clone.querySelector("[style='display: none;']");
|
||||||
|
hiddenWidget.style.removeProperty("display");
|
||||||
this.clonedWidget = clone;
|
this.clonedWidget = clone;
|
||||||
}, 0);
|
}, 0);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user