mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
oops, don't try to delete nonexistent tags when moving a room from conversations to favs or similar
This commit is contained in:
parent
4614017b8f
commit
4409f07c2e
@ -68,7 +68,7 @@ var roomTileSource = {
|
|||||||
|
|
||||||
if (monitor.didDrop() && item.targetList.props.editable) {
|
if (monitor.didDrop() && item.targetList.props.editable) {
|
||||||
// if we moved lists, remove the old tag
|
// if we moved lists, remove the old tag
|
||||||
if (item.targetList !== item.originalList) {
|
if (item.targetList !== item.originalList && item.originalList.props.tagName) {
|
||||||
// commented out attempts to set a spinner on our target component as component is actually
|
// commented out attempts to set a spinner on our target component as component is actually
|
||||||
// the original source component being dragged, not our target. To fix we just need to
|
// the original source component being dragged, not our target. To fix we just need to
|
||||||
// move all of this to endDrop in the target instead. FIXME later.
|
// move all of this to endDrop in the target instead. FIXME later.
|
||||||
|
Loading…
Reference in New Issue
Block a user