mirror of
https://github.com/ericasch6/scrum-poker-internal.git
synced 2026-10-13 16:32:09 +00:00
do not need login
This commit is contained in:
@@ -16,6 +16,7 @@ const props = withDefaults(defineProps<RoomExperienceProps>(), {
|
||||
const page = usePage();
|
||||
const presenterMode = ref(false);
|
||||
const roomNotice = computed(() => page.props.roomNotice);
|
||||
const isAuthenticated = computed(() => page.props.auth.user !== null);
|
||||
const embeddedBackgroundColor = computed(() => {
|
||||
if (!props.embedded) {
|
||||
return undefined;
|
||||
@@ -74,7 +75,7 @@ const {
|
||||
realtimeRoom.allow_participants_to_manage_rounds
|
||||
"
|
||||
:current-player-id="realtimeCurrentPlayer.id"
|
||||
:embedded="embedded"
|
||||
:can-logout="embedded && isAuthenticated"
|
||||
:player-name="realtimeCurrentPlayer.name"
|
||||
v-model:presenter-mode="presenterMode"
|
||||
/>
|
||||
|
||||
@@ -99,7 +99,7 @@ async function copyInviteLink(): Promise<void> {
|
||||
|
||||
<div class="flex flex-col items-end gap-2">
|
||||
<Link
|
||||
v-if="embedded"
|
||||
v-if="canLogout"
|
||||
:href="
|
||||
embeddedLogout({
|
||||
query: {
|
||||
|
||||
Reference in New Issue
Block a user