1
0
Fork 0
mirror of synced 2024-09-10 14:35:47 +12:00

Always update asset type when required, even if no assets of that type exist

This commit is contained in:
Andrew Kingston 2022-02-24 12:25:14 +00:00
parent e29967c877
commit 08ec8ca7db

View file

@ -45,6 +45,14 @@
store.actions.screens.select(id)
}
}
// If we didn't find a valid asset, just update the preview type
if (!id) {
store.update(state => {
state.currentFrontEndType = assetType
return state
})
}
}
</script>