Skip to content

Commit

Permalink
Fix Typescript errors
Browse files Browse the repository at this point in the history
  • Loading branch information
audiodude committed Jan 8, 2025
1 parent 8e30b3c commit 1c9c957
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rainfall-frontend/src/views/DeployNetlifyView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default {
return !!this.userStore.user?.integration?.has_netlify_token;
},
doneDeploying(): boolean {
return this.site && this.site.netlify_url && !this.deploying;
return !!this.site && !!this.site.netlify_url && !this.deploying;
},
...mapStores(useUserStore),
},
Expand Down Expand Up @@ -182,7 +182,7 @@ export default {
<span class="sr-only">Deploying your site...</span>
</div>
<div
v-if="doneDeploying"
v-if="doneDeploying && site"
id="netlify-deploy-result"
class="ml-4 mt-1 md:mt-0 text-sm text-center md:text-left md:leading-[2.5rem]"
>
Expand Down

0 comments on commit 1c9c957

Please sign in to comment.