same model used for multi frequency

This commit is contained in:
liamcottle
2024-07-17 00:29:06 +12:00
parent b90e8bedf6
commit adbc91ae66

View File

@@ -62,14 +62,14 @@
<div>3. Provision EEPROM with device info, checksum and signature.</div> <div>3. Provision EEPROM with device info, checksum and signature.</div>
<div class="flex mb-1 space-x-1"> <div class="flex mb-1 space-x-1">
<div class="min-w-[70px] my-auto text-right">Product</div> <div class="min-w-[70px] my-auto text-right">Product</div>
<select v-model="selectedProduct" class="min-w-[200px] bg-white border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block pl-2 pr-8"> <select v-model="selectedProduct" class="min-w-[250px] bg-white border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block pl-2 pr-8">
<option :value="null" disabled>Select a Product</option> <option :value="null" disabled>Select a Product</option>
<option v-for="product of products" :value="product">{{ product.name }}</option> <option v-for="product of products" :value="product">{{ product.name }}</option>
</select> </select>
</div> </div>
<div class="flex mb-1 space-x-1"> <div class="flex mb-1 space-x-1">
<div class="min-w-[70px] my-auto text-right">Model</div> <div class="min-w-[70px] my-auto text-right">Model</div>
<select v-model="selectedModel" class="min-w-[200px] bg-white border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block pl-2 pr-8"> <select v-model="selectedModel" class="min-w-[250px] bg-white border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block pl-2 pr-8">
<option :value="null" disabled>Select a Model</option> <option :value="null" disabled>Select a Model</option>
<option v-if="selectedProduct" v-for="model of selectedProduct.models" :value="model">{{ model.name }}</option> <option v-if="selectedProduct" v-for="model of selectedProduct.models" :value="model">{{ model.name }}</option>
</select> </select>
@@ -141,15 +141,7 @@
}, },
{ {
id: ROM.MODEL_12, id: ROM.MODEL_12,
name: "868 MHz", name: "868 MHz / 915 MHz / 923 MHz",
},
{
id: ROM.MODEL_12,
name: "915 MHz",
},
{
id: ROM.MODEL_12,
name: "923 MHz",
}, },
], ],
}, },