🔨 Always fetch invite link

This commit is contained in:
SebClem 2022-06-30 11:27:41 +02:00
parent 12ac64da28
commit a8c308dbd0
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50

View File

@ -59,10 +59,8 @@ const router = useRouter();
const mutualGuildsStore = useMutualGuildsStore();
const { guilds, loaded } = storeToRefs(mutualGuildsStore);
onBeforeMount(async () => {
if (!inviteLinkStore.isPresent) {
let inviteLink = await getInviteLink();
inviteLinkStore.inviteLink = inviteLink.link;
}
});
function shouldBeDisabled(guild: Guild) {