Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
Signed-off-by: shivangrawat30 <[email protected]>
  • Loading branch information
ShivangRawat30 committed Nov 21, 2023
1 parent 71f9f35 commit d2d4804
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions kolibri/plugins/pdf_viewer/assets/src/views/PdfRendererIndex.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
// polyfill necessary for recycle list
import 'intersection-observer';
import commonCoreStrings from 'kolibri.coreVue.mixins.commonCoreStrings';
import useKResponsiveWindow from 'kolibri-design-system/lib/useKResponsiveWindow';
import useKResponsiveWindow from 'kolibri.coreVue.composables.useKResponsiveWindow';
import CoreFullscreen from 'kolibri.coreVue.components.CoreFullscreen';
import '../utils/domPolyfills';
import { EventBus } from '../utils/event_utils';
Expand All @@ -146,17 +146,14 @@
RecycleList,
CoreFullscreen,
},
mixins: [commonCoreStrings],
setup() {
const {
windowIsLarge,
windowIsSmall
} = useKResponsiveWindow();
return {
windowIsLarge,
windowIsSmall
}
const { windowIsLarge, windowIsSmall } = useKResponsiveWindow();
return {
windowIsLarge,
windowIsSmall,
};
},
mixins: [commonCoreStrings],
data: () => ({
progress: null,
scale: null,
Expand Down

0 comments on commit d2d4804

Please sign in to comment.