Skip to content

Commit

Permalink
fix: add isochrone removal button on embedded page #433
Browse files Browse the repository at this point in the history
  • Loading branch information
wazolab authored and frodrigo committed Nov 26, 2024
1 parent 98f0cf6 commit 6ba7e1b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/Home/Embedded.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { menuStore as useMenuStore } from '~/stores/menu'
import { siteStore as useSiteStore } from '~/stores/site'
import { Mode } from '~/utils/types'
import { flattenFeatures } from '~/utils/utilities'
import IsochroneStatus from '~/components/Isochrone/IsochroneStatus.vue'
//
// Props
Expand All @@ -35,6 +36,7 @@ const { config, settings } = useSiteStore()
const route = useRoute()
const router = useRouter()
const { t } = useI18n()
const { isochroneCurrentFeature } = useIsochrone()
//
// Data
Expand Down Expand Up @@ -219,8 +221,9 @@ function toggleExploreAroundSelectedPoi() {
class="tw-p-4 tw-absolute tw-z-1 tw-w-full"
@category-change="onMenuChange"
/>
<div class="tw-p-4 tw-pt-24 tw-absolute">
<div class="tw-p-4 tw-pt-24 tw-absolute tw-flex tw-gap-4">
<SelectedCategories v-if="!isFiltersEqualToCategoryId" />
<IsochroneStatus v-if="isochroneCurrentFeature" />
</div>
</div>
</div>
Expand Down

0 comments on commit 6ba7e1b

Please sign in to comment.