keep flashy map icon in feed

This commit is contained in:
2026-04-17 20:23:59 +02:00
parent 932f950ed8
commit 3416ace4ee
11 changed files with 41 additions and 13 deletions

View File

@@ -109,6 +109,16 @@
this.sending = false;
});
}
},
executeMainAction() {
switch(this.options.type) {
case 'message':
this.panMapToMessage();
break;
case 'media':
this.$refs.medialink.openMedia();
break;
}
}
},
mounted() {
@@ -156,7 +166,7 @@
</a>
</div>
<div v-else-if="options.type == 'media'" class="body-box">
<projectMediaLink :options="options" :type="'post'" />
<projectMediaLink :options="options" :type="'post'" ref="medialink" />
</div>
<div v-else-if="options.type == 'post'">
<p class="message">{{ options.content }}</p>