Skip to content

Commit

Permalink
Code review
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVelezLl committed Nov 19, 2024
1 parent 11d119c commit d082386
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/kolibri-common/components/SidePanelModal/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,14 @@
Backdrop,
},
mixins: [commonCoreStrings],
setup(_, { slots }) {
setup() {
const { windowBreakpoint } = useKResponsiveWindow();
const hasBottomNavigationSlot = () => {
return !!slots.bottomNavigation;
};
return {
/* Will be calculated in mounted() as it will get the height of the fixedHeader then */
// @type {RefImpl<number>}
windowBreakpoint,
fixedHeaderHeight: '0px',
lastFocus: null,
hasBottomNavigationSlot,
};
},
props: {
Expand Down

0 comments on commit d082386

Please sign in to comment.