Skip to content

Commit

Permalink
removeNoise - hide when only one noise
Browse files Browse the repository at this point in the history
  • Loading branch information
MHSanaei committed Sep 24, 2024
1 parent 16b4795 commit d5de8e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/html/xui/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@
@input="(value) => updateNoisePacket(index, value)" placeholder="5-10"></setting-list-item>
<setting-list-item style="padding: 10px 20px" type="text" title='Delay (ms)' :value="noise.delay"
@input="(value) => updateNoiseDelay(index, value)" placeholder="10-20"></setting-list-item>
<a-button type="danger" @click="removeNoise(index)">Remove</a-button>
<a-button v-if="noisesArray.length > 1" type="danger" @click="removeNoise(index)">Remove</a-button>
</a-collapse-panel>
</a-collapse>
<a-button v-if="noises" type="primary" @click="addNoise" style="margin-top: 10px">Add Noise</a-button>
Expand Down

0 comments on commit d5de8e1

Please sign in to comment.