Skip to content

Commit

Permalink
feat: add my history location (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
herrardo committed Aug 16, 2023
1 parent 8245344 commit f03c0d8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/components/my-history/my-history-aside.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,15 @@
<HistoryQueriesSwitch />
</section>

<CustomMyHistory />
<LocationProvider location="my_history">
<CustomMyHistory />
</LocationProvider>
</div>
</div>
</template>

<script lang="ts">
import { BaseIdModalClose, CrossIcon } from '@empathyco/x-components';
import { BaseIdModalClose, CrossIcon, LocationProvider } from '@empathyco/x-components';
import { HistoryQueriesSwitch } from '@empathyco/x-components/history-queries';
import { defineComponent, onMounted } from 'vue';
import { useDevice } from '../../composables/use-device.composable';
Expand All @@ -59,7 +61,8 @@
CrossIcon,
BaseIdModalClose,
CustomMyHistory,
HistoryQueriesSwitch
HistoryQueriesSwitch,
LocationProvider
},
setup() {
const { isTabletOrLess } = useDevice();
Expand Down

0 comments on commit f03c0d8

Please sign in to comment.