simpler-parent-select
This commit is contained in:
@@ -734,7 +734,6 @@ async def set_topic_parent(
|
|||||||
|
|
||||||
# Если устанавливаем корневую тему
|
# Если устанавливаем корневую тему
|
||||||
if parent_id is None:
|
if parent_id is None:
|
||||||
old_parent_ids: list[int] = list(topic.parent_ids or [])
|
|
||||||
topic.parent_ids = [] # type: ignore[assignment]
|
topic.parent_ids = [] # type: ignore[assignment]
|
||||||
session.commit()
|
session.commit()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user