We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5594130 + dc64df6 commit 37bb4ccCopy full SHA for 37bb4cc
src/modules/infobox/components/ImportContentResultList.vue
@@ -105,13 +105,8 @@ export default {
105
this.revertSort = !this.revertSort
106
},
107
onItemClick(layer) {
108
- if (this.selectedLayer?.externalLayerId === layer.externalLayerId) {
109
- this.selectedLayer = undefined
110
- this.description = ''
111
- } else {
112
- this.selectedLayer = layer
113
- this.description = this.selectedLayer.abstract
114
- }
+ this.selectedLayer = layer
+ this.description = this.selectedLayer.abstract
115
116
onPreviewStart(layer) {
117
this.setPreviewLayer(layer)
0 commit comments