Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinicius Reis <vinicius.reis@nextcloud.com>2022-05-11 22:46:56 +0300
committerVinicius Reis <vinicius.reis@nextcloud.com>2022-05-11 22:46:56 +0300
commit2ff0222818bed5e519cd05d739b82bb235da3a3d (patch)
treebcb6b908f900d413acac0a41490af885d6dfed22 /src/nodes/ImageView.vue
parenta29f84a69b89a5c445e77dd333ddd01ab54c9efb (diff)
✅ (#2338): add cypress tests
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Diffstat (limited to 'src/nodes/ImageView.vue')
-rw-r--r--src/nodes/ImageView.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nodes/ImageView.vue b/src/nodes/ImageView.vue
index fd9e3de30..e02887afa 100644
--- a/src/nodes/ImageView.vue
+++ b/src/nodes/ImageView.vue
@@ -22,7 +22,10 @@
<template>
<NodeViewWrapper>
- <div class="image" :class="{'icon-loading': !loaded}" :data-src="src">
+ <div class="image"
+ data-component="image-view"
+ :class="{'icon-loading': !loaded}"
+ :data-src="src">
<div v-if="imageLoaded && isSupportedImage"
v-click-outside="() => showIcons = false"
class="image__view"