mirror of
https://github.com/excalidraw/excalidraw.git
synced 2026-11-29 00:29:42 +03:00
only show deletion msg to owner
This commit is contained in:
1 parent
08a39e2034
commit
baf68fe663
1 file changed
+2
-2
@@ -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