Skip to content

Commit e7d9ccf

Browse files
authored
Merge pull request #7815 from LibreSign/chore/bump-playwright-1.61.0
chore(deps): bump playwright from 1.59.1 to 1.61.0
2 parents 816affa + ab3176a commit e7d9ccf

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/playwright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
runs-on: ubuntu-latest
5757
timeout-minutes: 60
5858
container:
59-
image: mcr.microsoft.com/playwright:v1.59.1-noble
59+
image: mcr.microsoft.com/playwright:v1.61.0-noble
6060
options: --ipc=host
6161

6262
needs: [matrix, changes]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"@nextcloud/stylelint-config": "^3.2.1",
8282
"@nextcloud/vite-config": "^2.5.2",
8383
"@pinia/testing": "^1.0.3",
84-
"@playwright/test": "^1.59.1",
84+
"@playwright/test": "^1.61.0",
8585
"@testing-library/dom": "^10.4.1",
8686
"@testing-library/vue": "^8.1.0",
8787
"@types/blueimp-md5": "^2.18.2",

src/components/PreviewSignature/PreviewSignature.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
:style="{
1313
width,
1414
height,
15-
}"
16-
@load="onImageLoad">
15+
}">
1716
</div>
1817
</div>
1918
</template>
@@ -56,7 +55,7 @@ const props = withDefaults(defineProps<{
5655
})
5756
5857
const emit = defineEmits<{
59-
(e: 'loaded', status: boolean | Event): void
58+
(e: 'loaded', status: boolean): void
6059
}>()
6160
6261
const loading = ref(true)
@@ -82,6 +81,7 @@ function arrayBufferToBase64(data: ArrayBuffer) {
8281
async function loadImage() {
8382
if (props.src.startsWith('data:')) {
8483
imageData.value = props.src
84+
onImageLoad(true)
8585
return
8686
}
8787
@@ -105,7 +105,7 @@ async function loadImage() {
105105
}
106106
}
107107
108-
function onImageLoad(status: boolean | Event) {
108+
function onImageLoad(status: boolean) {
109109
loading.value = false
110110
isLoaded.value = true
111111
emit('loaded', status)

0 commit comments

Comments
 (0)