Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dschmidt committed Aug 3, 2023
1 parent c7e5e33 commit 38dc423
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions packages/web-app-pdf-viewer/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<template>
<AppWrapper
id="pdf-viewer"
v-slot="{ url }: { url: string }"
v-slot="{ url }: AppWrapperSlotArgs"
application-id="pdf-viewer"
:url-for-resource-options="{
disposition: 'inline'
Expand All @@ -13,7 +12,7 @@

<script lang="ts">
import { defineComponent } from 'vue'
import AppWrapper from 'web-pkg/src/components/AppTemplates/AppWrapper.vue'
import AppWrapper, { AppWrapperSlotArgs } from 'web-pkg/src/components/AppTemplates/AppWrapper.vue'
export default defineComponent({
name: 'PDFViewer',
Expand Down
3 changes: 2 additions & 1 deletion packages/web-pkg/src/components/AppTemplates/AppWrapper.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<main class="oc-height-1-1">
<main :id="applicationId" class="oc-height-1-1">
<app-top-bar v-if="!loading && !loadingError" :resource="resource" @close="closeApp">
{{ slotAttrs.isDirty }}
</app-top-bar>
Expand Down Expand Up @@ -29,6 +29,7 @@ export interface AppWrapperSlotArgs {
currentContent: Ref<string>
isDirty: boolean
isReadOnly: boolean
url: string
}
export default defineComponent({
Expand Down

0 comments on commit 38dc423

Please sign in to comment.