mirror of
https://github.com/excalidraw/excalidraw
synced 2025-07-25 13:58:22 +08:00
only show deletion msg to owner
This commit is contained in:
@ -171,8 +171,8 @@ const ActiveRoomDialog = ({
|
||||
</p>
|
||||
<h3>Stop Session</h3>
|
||||
<p>{t("roomDialog.desc_exitSession")}</p>
|
||||
<h3>Delete Session</h3>
|
||||
<p>{t("roomDialog.desc_deleteSession")}</p>
|
||||
{isRoomOwner && <h3>Delete Session</h3>}
|
||||
{isRoomOwner && <p>{t("roomDialog.desc_deleteSession")}</p>}
|
||||
</div>
|
||||
|
||||
<div className="ShareDialog__active__actions">
|
||||
|
Reference in New Issue
Block a user