mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-12-01 10:14:36 +00:00
Fall back to a plain "Opened" when the server sends no message
This commit is contained in:
1 parent
a27c0bf860
commit
1c50eaf776
1 file changed
+1
-1
@@ -199,7 +199,7 @@ export function MapStudio({ client, world, theme, onDisconnect }: MapStudioProps
|
|||||||
}
|
}
|
||||||
client
|
client
|
||||||
.openInEditor(spot.x, spot.z, viewId)
|
.openInEditor(spot.x, spot.z, viewId)
|
||||||
.then((message) => tell(message ?? 'Opened on the server'))
|
.then((message) => tell(message ?? 'Opened'))
|
||||||
.catch((failure: Error) => tell(failure.message))
|
.catch((failure: Error) => tell(failure.message))
|
||||||
},
|
},
|
||||||
[client, viewId, tell]
|
[client, viewId, tell]
|
||||||
|
|||||||
Reference in new issue
Block a user