Skip to content

Commit

Permalink
isPublic
Browse files Browse the repository at this point in the history
  • Loading branch information
uli-heller committed Jan 29, 2021
1 parent a0eaa26 commit 303afd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Sidebar.vue
Expand Up @@ -163,7 +163,7 @@ export default {
computed: {
shareLink() {
if (this.form.isPublic()) {
if (this.isPublic) {
return window.location.protocol + '//' + window.location.host + generateUrl(`/apps/forms/${this.form.hash}`)
} else {
return window.location.protocol + '//' + window.location.host + generateUrl(`/login?redirect_url=/apps/forms/${this.form.hash}`)
Expand Down

0 comments on commit 303afd5

Please sign in to comment.