Commits (7)
......@@ -34,7 +34,7 @@
>
<a
:class="$q.dark.isActive ? 'text-dark' : 'text-white'"
:href="`${redirectUrl}?searchTerm=${searchTerm}`"
:href="`${redirectUrl}search.html?searchTerm=${searchTerm}`"
class="header-links"
>
<q-icon
......
......@@ -11,10 +11,9 @@
<q-tab
v-for="(contenturl, i) in contenturls"
:key="`content${i}`"
:name="contenturl"
:class="contenturls.length == 1 && 'default-cursor'"
:disable="contenturls.length == 1"
:class="{'disabled-tab': contenturl === activeTab}"
:label="$t(contenttypes[i])"
:name="contenturl"
/>
</q-tabs>
......@@ -232,4 +231,8 @@ export default {
overflow: auto;
padding: 8px;
}
.disabled-tab {
pointer-events: none;
}
</style>