Made microtabs not show the tab buttons if forced to specific tab

This commit is contained in:
thepaperpilot 2021-09-05 13:19:44 -05:00
parent d0bb9c1e99
commit bc808098ff

View file

@ -1,7 +1,7 @@
<template> <template>
<div v-if="microtabs" class="microtabs"> <div v-if="microtabs" class="microtabs">
<LayerProvider :layer="layer" :index="tab.index"> <LayerProvider :layer="layer" :index="tab.index">
<div v-if="microtabs" class="tabs" :class="{ floating }"> <div v-if="microtabs && this.id == undefined" class="tabs" :class="{ floating }">
<tab-button <tab-button
v-for="(microtab, id) in microtabs" v-for="(microtab, id) in microtabs"
@selectTab="selectMicrotab(id)" @selectTab="selectMicrotab(id)"