mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
starting empty editor on map loading error
This commit is contained in:
parent
e3e209ff65
commit
e0f5d0238a
3 changed files with 16 additions and 6 deletions
|
@ -31,4 +31,4 @@ export const getStoredMap = ({ name }) => axios.get(API.GET_MAP, {
|
|||
name,
|
||||
action: 'load'
|
||||
}
|
||||
}).then(result => (result && result.data && result.data.data));
|
||||
}).then(result => (result && result.data && result.data.data && result.data.owner && { ...result.data.data, owner: result.data.owner }));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue