Skip to content
Snippets Groups Projects
Commit c506fa5e authored by Angelina Filippova's avatar Angelina Filippova
Browse files

Add placeholder for ip_whitelist input

parent 05cd0cc7
No related branches found
No related tags found
1 merge request!186Add Pleroma.Web.Endpoint.MetricsExporter settings
Pipeline #33499 passed
......@@ -30,6 +30,7 @@
v-for="(item, index) in tupleValue"
:value="item"
:key="index"
:placeholder="getPlaceholder[index]"
class="tuple-input"
@input="processTupleTwoTypeValue($event, setting.key, index)"/>
</div>
......@@ -69,6 +70,9 @@ export default {
const value = this.data[this.setting.key]
return typeof value !== 'boolean'
},
getPlaceholder() {
return { 0: ':basic', 1: 'username', 2: 'password' }
},
integerValue() {
const value = this.data[this.setting.key]
return value || 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment