Skip to content

Commit

Permalink
Merge branch 'hotfix-1.15.2' into hotfix-1.15.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonhendee committed Oct 4, 2023
2 parents c8c95ee + b5e4256 commit b8d8e03
Showing 1 changed file with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</NotificationBox>

<div v-if="!blockErrorMessage">
<RockForm @submit="onSearch">
<RockForm v-if="isSearchFormVisible" @submit="onSearch">
<div class="row d-flex flex-wrap">
<div v-if="projectTypes.length" :class="columnClass">
<SignUpFilter v-model="selectedProjectTypes"
Expand Down Expand Up @@ -222,6 +222,19 @@
return filters;
});

const isSearchFormVisible = computed((): boolean => {
return !!(
projectTypes.value.length
|| campuses.value.length
|| namedSchedules.value.length
|| attributeFilters.value.length
|| config.displayDateRange
|| config.displayLocationSort
|| config.displayLocationRangeFilter
|| config.displaySlotsAvailableFilter
);
});

// #endregion

// #region Functions
Expand Down

0 comments on commit b8d8e03

Please sign in to comment.