del-row-fix: поправил дисконнект при удалении строки
This commit is contained in:
parent
7f837c34a7
commit
35ab5e7b5f
@ -725,7 +725,7 @@ async def process_websocket(
|
|||||||
if manager.is_row_locked_by_other(
|
if manager.is_row_locked_by_other(
|
||||||
con_key=con_key,
|
con_key=con_key,
|
||||||
user_id=user_id,
|
user_id=user_id,
|
||||||
line_id=data["data"]["line_id"]
|
line_id=data["data"]["row_id"]
|
||||||
):
|
):
|
||||||
data["error"] = (
|
data["error"] = (
|
||||||
"Нельзя удалить строку: в этой строке есть редактируемые ячейки"
|
"Нельзя удалить строку: в этой строке есть редактируемые ячейки"
|
||||||
@ -751,7 +751,7 @@ async def process_websocket(
|
|||||||
manager.release_locks_for_row(
|
manager.release_locks_for_row(
|
||||||
con_key=con_key,
|
con_key=con_key,
|
||||||
user_id=user_id,
|
user_id=user_id,
|
||||||
line_id=data["data"]["line_id"]
|
line_id=data["data"]["row_id"]
|
||||||
)
|
)
|
||||||
|
|
||||||
if data.get("event") in [
|
if data.get("event") in [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user