Skip to content

Commit

Permalink
Merge pull request #108 from Disfactory/bugfix/handle-source-exception
Browse files Browse the repository at this point in the history
Source might be undefined with latest prod api
  • Loading branch information
Yukaii authored May 26, 2021
2 parents 40fcee5 + 5c3d4cc commit c3c5236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/FactoryDetailPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export default createComponent({
const source = computed(() => {
if (appState.factoryData) {
return appState.factoryData.source.split('')
return appState.factoryData.source?.split('')
.map(function getName (source) {
switch (source) {
case 'U':
Expand Down

0 comments on commit c3c5236

Please sign in to comment.