Skip to content

Commit

Permalink
only render gridHeader if !embedded or if filtering is available
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedhamidawan committed May 13, 2024
1 parent 5d0ffab commit 56ea5b5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/src/components/Grid/GridList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,10 @@ watch(operationMessage, () => {
<div :id="gridConfig.id" class="d-flex flex-column overflow-auto">
<BAlert v-if="!!errorMessage" variant="danger" show>{{ errorMessage }}</BAlert>
<BAlert v-if="!!operationMessage" :variant="operationStatus" fade show>{{ operationMessage }}</BAlert>
<div ref="gridHeader" class="grid-header d-flex justify-content-between pb-2 flex-column">
<div
v-if="!embedded || filterClass"
ref="gridHeader"
class="grid-header d-flex justify-content-between pb-2 flex-column">
<div v-if="!embedded" class="d-flex">
<Heading h1 separator inline size="xl" class="flex-grow-1 m-0" data-description="grid title">
<span v-localize>{{ gridConfig.title }}</span>
Expand Down

0 comments on commit 56ea5b5

Please sign in to comment.