traxxx-web/pages/updates/+Page.vue

26 lines
436 B
Vue
Raw Permalink Normal View History

<template>
<div class="updates">
<Scenes
:show-filters="!!query"
:show-meta="!!query"
:show-scope-tabs="!query"
/>
</div>
</template>
<script setup>
import { inject } from 'vue';
import Scenes from '#/components/scenes/scenes.vue';
const pageContext = inject('pageContext');
const query = Object.hasOwn(pageContext.urlParsed.search, 'q');
</script>
<style scoped>
.updates {
display: flex;
flex-grow: 1;
}
</style>