File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
frontend/express/public/javascripts/countly/vue/components Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 991991 } ,
992992 template : '<div class="bu-is-flex bu-is-flex-wrap-wrap bu-is-align-items-center">\
993993 <div class="cly-vue-color-tag__color-tag-wrapper" v-for="(tag,idx) in tags">\
994- <div v-if="tag.value == selectedTag.value" @click="click(tag)" class="cly-vue-color-tag__color-tag cly-vue-color-tag__color-tag__selected bu-is-flex bu-is-align-items-center bu-is-justify-content-center" :style="{backgroundColor: tag.label}">\
994+ <div v-if="tag.value == selectedTag.value" @click="click(tag)" :data-test-id="`color-tag-${idx}`" class="cly-vue-color-tag__color-tag cly-vue-color-tag__color-tag__selected bu-is-flex bu-is-align-items-center bu-is-justify-content-center" :style="{backgroundColor: tag.label}">\
995995 <i class="ion-checkmark cly-vue-color-tag__checkmark"></i>\
996996 </div>\
997- <div v-else @click="click(tag)" class="cly-vue-color-tag__color-tag bu-is-flex bu-is-align-items-center bu-is-justify-content-center" :style="{backgroundColor: tag.label}"></div>\
997+ <div v-else @click="click(tag)" :data-test-id="`color-tag-${idx}`" class="cly-vue-color-tag__color-tag bu-is-flex bu-is-align-items-center bu-is-justify-content-center" :style="{backgroundColor: tag.label}"></div>\
998998 </div>\
999999 </div>'
10001000 } ) ) ;
You can’t perform that action at this time.
0 commit comments