Added env variables to disable some options

This commit is contained in:
Alexis
2025-05-02 18:54:28 +02:00
parent 0bc65e96c8
commit c282c7ec7a
5 changed files with 51 additions and 12 deletions

View File

@@ -20,6 +20,7 @@ const props = defineProps<{
players: PlayerMarker,
mapKey?: string,
searchConfig?: SearchConfig
disableTags?: boolean
}>()
const customMarkersKey = props.mapKey ? `custom-markers-${props.mapKey}` : 'custom-markers'
@@ -286,6 +287,7 @@ function resetAllFields(actionAfter?: "focusAfter") {
</div>
<SearchMarkersTags
v-if="!props.disableTags"
:current-search-mode="currentSearchMode"
:custom-markers="customMarkersData"
:search-config="props.searchConfig"