You've already forked AstralRinth
forked from didirus/AstralRinth
This reverts commit 2e95a8a117.
This commit is contained in:
@@ -14,7 +14,6 @@
|
|||||||
'text-button-textSelected': activeIndex === index && !subpageSelected,
|
'text-button-textSelected': activeIndex === index && !subpageSelected,
|
||||||
'text-contrast': activeIndex === index && subpageSelected,
|
'text-contrast': activeIndex === index && subpageSelected,
|
||||||
}"
|
}"
|
||||||
@click="(e) => emit('click', e)"
|
|
||||||
>
|
>
|
||||||
<component :is="link.icon" v-if="link.icon" class="size-5" />
|
<component :is="link.icon" v-if="link.icon" class="size-5" />
|
||||||
<span class="text-nowrap">{{ link.label }}</span>
|
<span class="text-nowrap">{{ link.label }}</span>
|
||||||
@@ -39,9 +38,6 @@
|
|||||||
import { computed, onMounted, ref, watch } from 'vue'
|
import { computed, onMounted, ref, watch } from 'vue'
|
||||||
|
|
||||||
const route = useNativeRoute()
|
const route = useNativeRoute()
|
||||||
const emit = defineEmits<{
|
|
||||||
(e: 'click', event: MouseEvent): void
|
|
||||||
}>()
|
|
||||||
|
|
||||||
interface Tab {
|
interface Tab {
|
||||||
label: string
|
label: string
|
||||||
|
|||||||
@@ -54,7 +54,6 @@
|
|||||||
v-if="!server && !flags.projectTypesPrimaryNav"
|
v-if="!server && !flags.projectTypesPrimaryNav"
|
||||||
:links="selectableProjectTypes"
|
:links="selectableProjectTypes"
|
||||||
class="hidden md:flex"
|
class="hidden md:flex"
|
||||||
@click="query = ''"
|
|
||||||
/>
|
/>
|
||||||
</section>
|
</section>
|
||||||
<aside
|
<aside
|
||||||
@@ -386,9 +385,6 @@ await updateServerContext()
|
|||||||
|
|
||||||
watch(route, () => {
|
watch(route, () => {
|
||||||
updateServerContext()
|
updateServerContext()
|
||||||
if (!route.params.q) {
|
|
||||||
query.value = ''
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
async function updateServerContext() {
|
async function updateServerContext() {
|
||||||
|
|||||||
Reference in New Issue
Block a user