31 lines
850 B

<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";
import RedirectWithAccount from "@/components/Utils/RedirectWithAccount.vue";
import RouteName from "../../router/name";
components: { RedirectWithAccount },
export default class JoinGroupWithAccount extends Vue {
@Prop({ type: String, required: true }) preferredUsername!: string;
get uri(): string {
return `${window.location.origin}${
name: RouteName.GROUP,
params: { preferredUsername: this.preferredUsername },
sentence = this.$t("We will redirect you to your instance in order to interact with this group");