fix linting (and change a little wording in onboarding page)
This commit is contained in:
@@ -38,10 +38,12 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { Component, Vue } from 'vue-facing-decorator';
|
||||
import QuickNav from '@/components/QuickNav.vue';
|
||||
import TopMessage from '@/components/TopMessage.vue';
|
||||
import MembersList from '@/components/MembersList.vue';
|
||||
import { Component, Vue } from "vue-facing-decorator";
|
||||
import { RouteLocation } from "vue-router";
|
||||
|
||||
import QuickNav from "@/components/QuickNav.vue";
|
||||
import TopMessage from "@/components/TopMessage.vue";
|
||||
import MembersList from "@/components/MembersList.vue";
|
||||
|
||||
@Component({
|
||||
components: {
|
||||
@@ -51,23 +53,23 @@ import MembersList from '@/components/MembersList.vue';
|
||||
},
|
||||
})
|
||||
export default class OnboardMeetingMembersView extends Vue {
|
||||
errorMessage = '';
|
||||
errorMessage = "";
|
||||
|
||||
get groupId(): string {
|
||||
return this.$route.params.groupId as string;
|
||||
return (this.$route as RouteLocation).params.groupId as string;
|
||||
}
|
||||
|
||||
get password(): string {
|
||||
return this.$route.query.password as string;
|
||||
return (this.$route as RouteLocation).query.password as string;
|
||||
}
|
||||
|
||||
async created() {
|
||||
if (!this.groupId) {
|
||||
this.errorMessage = 'The group info is missing. Go back and try again.';
|
||||
this.errorMessage = "The group info is missing. Go back and try again.";
|
||||
return;
|
||||
}
|
||||
if (!this.password) {
|
||||
this.errorMessage = 'The password is missing. Go back and try again.';
|
||||
this.errorMessage = "The password is missing. Go back and try again.";
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -76,4 +78,4 @@ export default class OnboardMeetingMembersView extends Vue {
|
||||
this.errorMessage = message;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user