mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-27 00:04:42 +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
|
||||
.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))
|
||||
},
|
||||
[client, viewId, tell]
|
||||
|
||||
Reference in new issue
Block a user