Skip to content

Commit

Permalink
Fix console crash if vm files are removed
Browse files Browse the repository at this point in the history
  • Loading branch information
kvinwang committed Nov 27, 2024
1 parent 710d716 commit 58d36b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teepod/src/console.html
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ <h3>Upgrade VM</h3>
};

const dashboardAvailable = (vm) => {
if (!vm.appConfig.features.includes('tproxy-net')) return false;
if (!vm.appConfig?.features?.includes('tproxy-net')) return false;
return vm.app_url
};

Expand Down

0 comments on commit 58d36b5

Please sign in to comment.