Commit 86c926ca authored by dindigala's avatar dindigala
Browse files

Merge branch 'develop' into issue/nested-motif-refactor

parents 4e86c8e7 b1d94746
Pipeline #218615 passed with stages
in 3 minutes and 3 seconds
......@@ -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>
......@@ -279,4 +278,8 @@ export default {
overflow: auto;
padding: 8px;
}
.disabled-tab {
pointer-events: none;
}
</style>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment