Skip to content

Commit

Permalink
bring back admin page
Browse files Browse the repository at this point in the history
Signed-off-by: dartcafe <github@dartcafe.de>
  • Loading branch information
dartcafe committed Oct 9, 2024
1 parent f886877 commit 8ed892d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@

<script setup>
import { t } from '@nextcloud/l10n'

import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch.js'

import { useAppSettingsStore } from '../../../stores/appSettings.ts'

const { appSettingsStore } = useAppSettingsStore()

const appSettingsStore = useAppSettingsStore()
</script>

<template>
Expand Down
4 changes: 2 additions & 2 deletions src/views/Vote.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

// FIXME: Fix this, since it is not 'vote-main' that is scrolled
const voteMainId = 'vote-main'
const { scrolled } = useHandleScroll(voteMainId)
const scrolled = useHandleScroll(voteMainId)

const isLoading = ref(false)

Expand Down Expand Up @@ -68,7 +68,7 @@
</script>

<template>
<NcAppContent :class="[{ closed: pollStore.isClosed, scrolled: (scrolled > 0), 'vote-style-beta-510': preferencesStore.user.useAlternativeStyling }, pollStore.type]">
<NcAppContent :class="[{ closed: pollStore.isClosed, scrolled: !!scrolled, 'vote-style-beta-510': preferencesStore.user.useAlternativeStyling }, pollStore.type]">
<HeaderBar class="area__header">
<template #title>
{{ pollStore.configuration.title }} scrolled: {{ scrolled }}
Expand Down

0 comments on commit 8ed892d

Please sign in to comment.