Skip to content

Commit b100f96

Browse files
committed
Add conditional rendering for organization scope in ApiResponse.vue. only show 'seat message information' when scope is organization
1 parent 018a7f4 commit b100f96

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/ApiResponse.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
</div>
1414

1515
<br><br>
16+
<div v-if="vueAppScope === 'organization'">
1617
<v-card max-height="575px" class="overflow-y-auto">
1718
<pre ref="jsonText">{{ JSON.stringify(seats, null, 2) }}</pre>
1819
</v-card>
@@ -23,6 +24,7 @@
2324
<div v-if="showSeatMessage" :class="{'copy-message': true, 'error': isError}">{{ message }}</div>
2425
</transition>
2526
</div>
27+
</div>
2628
</v-container>
2729
</template>
2830

@@ -43,6 +45,7 @@ export default defineComponent({
4345
},
4446
data() {
4547
return {
48+
vueAppScope: process.env.VUE_APP_SCOPE,
4649
showCopyMessage: false,
4750
showSeatMessage: false,
4851
isError: false,

0 commit comments

Comments
 (0)