Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
fix: pagelog deprecated for now
Browse files Browse the repository at this point in the history
  • Loading branch information
villetakanen committed Dec 13, 2021
1 parent 4ae7744 commit ff04a96
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/home/HomeStream.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ import SpacerDiv from '../layout/SpacerDiv.vue'
import { WordpressArticle, WordPressSubscription } from '@/utils/wordpress'
import Icon from '../material/Icon.vue'
import Button from '../form/Button.vue'
import { useSites } from '@/state/sites'
interface StreamEntry {
key: string
Expand All @@ -77,7 +78,8 @@ export default defineComponent({
name: 'HomeStream',
components: { ThreadCard, WPCard, Column, MekanismiCard, Toolbar, SpacerDiv, Icon, Button },
setup () {
const { lastFlowtime } = usePagelog()
const { visibleSites } = useSites()
const lastFlowtime = computed(() => [...visibleSites.value].sort((a, b) => b.compareChangeTime(a))[0].updatedAt?.seconds || 0)
const { anonymousSession } = useAuth()
const lokiArticles:Ref<WordpressArticle[]> = ref([])
// const tiedotusArticles:Ref<WordpressArticle[]> = ref([])
Expand Down

0 comments on commit ff04a96

Please sign in to comment.