rever changes to interface

This commit is contained in:
Mario Garrido 2025-07-04 15:41:04 +01:00
parent dea4a2b45a
commit 4367d5686f
2 changed files with 9 additions and 22 deletions

View file

@ -1125,6 +1125,5 @@
"Staged Tags for Batch Add": "Staged Tags for Batch Add", "Staged Tags for Batch Add": "Staged Tags for Batch Add",
"Clear Form": "Clear Form", "Clear Form": "Clear Form",
"pause": "Pause", "pause": "Pause",
"Manual": "Manual", "Manual": "Manual"
"Resolve GameDig Host IP": "Resolve domain to IP before request"
} }

View file

@ -201,25 +201,14 @@
<!-- Game --> <!-- Game -->
<!-- GameDig only --> <!-- GameDig only -->
<template v-if="monitor.type === 'gamedig'"> <div v-if="monitor.type === 'gamedig'" class="my-3">
<!-- GameDig Game list --> <label for="game" class="form-label"> {{ $t("Game") }} </label>
<div class="my-3"> <select id="game" v-model="monitor.game" class="form-select" required>
<label for="game" class="form-label"> {{ $t("Game") }} </label> <option v-for="game in gameList" :key="game.keys[0]" :value="game.keys[0]">
<select id="game" v-model="monitor.game" class="form-select" required> {{ game.pretty }}
<option v-for="game in gameList" :key="game.keys[0]" :value="game.keys[0]"> </option>
{{ game.pretty }} </select>
</option> </div>
</select>
</div>
<!-- GameDig resolve Host to IP -->
<div class="my-3 form-check">
<input id="gamedigResolveHostToIP" v-model="monitor.gamedigResolveHostToIP" class="form-check-input" type="checkbox">
<label class="form-check-label" for="gamedigResolveHostToIP">
{{ $t("Resolve GameDig Host IP") }}
</label>
</div>
</template>
<template v-if="monitor.type === 'kafka-producer'"> <template v-if="monitor.type === 'kafka-producer'">
<!-- Kafka Brokers List --> <!-- Kafka Brokers List -->
@ -1197,7 +1186,6 @@ const monitorDefaults = {
authMethod: null, authMethod: null,
oauth_auth_method: "client_secret_basic", oauth_auth_method: "client_secret_basic",
httpBodyEncoding: "json", httpBodyEncoding: "json",
gamedigResolveHostToIP: false,
kafkaProducerBrokers: [], kafkaProducerBrokers: [],
kafkaProducerSaslOptions: { kafkaProducerSaslOptions: {
mechanism: "None", mechanism: "None",