chore: refactor checkboxlist component

- fix archive file duplicate key issue
This commit is contained in:
ZanzyTHEbar 2023-01-19 20:36:50 +00:00
parent 36726b8839
commit d33200c5ba
3 changed files with 6 additions and 5 deletions

View File

@ -79,6 +79,6 @@ Solder each side of the resistor. Be careful not to solder at too high of a temp
Basic full wiring diagram of IR PCBs V2.
<ImageCard :options="image_settings.fox_ir_build_instructions_twelve"/>
<ImageCard :options="image_settings.fox_ir_build_instructions_thirteen"/>
The PCB that receives the 5V power is the one with the resistor. The second one, which gets its power from the ground pin of the first, does not have a resistor on it and its power input pin is the AR pin (After-Resistor). The 2nd PCBs ground pin goes to the ground of the system, in the diagram it is the ESPs ground pin.

View File

@ -224,7 +224,7 @@ const image_settings = {
caption: "The LED is flipped in this Image, the green dot should face AWAY from the PCB.",
max_width: "max-width: 400px;"
},
fox_ir_build_instructions_twelve: {
fox_ir_build_instructions_thirteen: {
url: "https://i.imgur.com/gopjVG3.png",
alt: "'drawing'",
max_width: "max-width: 500px;"

View File

@ -15,9 +15,10 @@ const props = defineProps(['options']);
</div>
<div v-else>
<input type="checkbox" unchecked>
<label>{{ item.label }}</label>
<label v-if="item.link === null || props.link === ''">{{ item.label }}</label>
<label v-else><a :href="item.link" target="_blank">{{ item.label }}</a></label>
<label v-if="item.link !== null || props.link !== ''"><a :href="item.link" target="_blank">{{
item.label
}}</a></label>
<label v-else>{{ item.label }}</label>
</div>
</li>
</ul>