adding urls
This commit is contained in:
@@ -185,7 +185,13 @@
|
||||
val="xs"
|
||||
label="Lightning"
|
||||
></q-checkbox>
|
||||
|
||||
<q-checkbox
|
||||
class="q-pl-md"
|
||||
size="xs"
|
||||
v-model="formDialog.data.display_preferences.url_checker"
|
||||
val="xs"
|
||||
label="URL Checker"
|
||||
></q-checkbox>
|
||||
<q-select
|
||||
v-if="formDialog.data.display_preferences.fun_exchange_market_rate"
|
||||
filled
|
||||
@@ -213,6 +219,23 @@
|
||||
<q-tooltip>Hit enter to add values</q-tooltip>
|
||||
</q-select>
|
||||
|
||||
<q-select
|
||||
v-if="formDialog.data.display_preferences.url_checker"
|
||||
filled
|
||||
multiple
|
||||
dense
|
||||
emit-value
|
||||
v-model="formDialog.data.urls"
|
||||
use-input
|
||||
use-chips
|
||||
multiple
|
||||
hide-dropdown-icon
|
||||
new-value-mode="add-unique"
|
||||
label="Urls to watch."
|
||||
>
|
||||
<q-tooltip>Hit enter to add values</q-tooltip>
|
||||
</q-select>
|
||||
|
||||
<q-toggle
|
||||
label="*Advanced"
|
||||
v-model="toggleStates.advanced"
|
||||
@@ -504,6 +527,7 @@
|
||||
mempool_recommended_fees: false,
|
||||
dashboard_mining: false,
|
||||
lightning_dashboard: false,
|
||||
url_checker: false,
|
||||
onchain: false,
|
||||
onchain_difficulty_epoch_progress: false,
|
||||
onchain_difficulty_retarget_date: false,
|
||||
@@ -584,6 +608,7 @@
|
||||
this.formDialog.data.type = gerty.type
|
||||
this.formDialog.data.utc_offset = gerty.utc_offset
|
||||
this.formDialog.data.lnbits_wallets = JSON.parse(gerty.lnbits_wallets)
|
||||
this.formDialog.data.urls = JSON.stringify(gerty.urls)
|
||||
;(this.formDialog.data.exchange = gerty.exchange),
|
||||
(this.formDialog.data.mempool_endpoint = gerty.mempool_endpoint),
|
||||
(this.formDialog.data.refresh_time = gerty.refresh_time),
|
||||
@@ -610,7 +635,8 @@
|
||||
this.formDialog.data.display_preferences.dashboard ||
|
||||
this.formDialog.data.display_preferences.dashboard_onchain ||
|
||||
this.formDialog.data.display_preferences.dashboard_onchain ||
|
||||
this.formDialog.data.display_preferences.lightning_dashboard
|
||||
this.formDialog.data.display_preferences.lightning_dashboard ||
|
||||
this.formDialog.data.display_preferences.url_checker
|
||||
) {
|
||||
this.formDialog.data.type = 'Gerty'
|
||||
}
|
||||
@@ -619,6 +645,7 @@
|
||||
utc_offset: this.formDialog.data.utc_offset,
|
||||
type: this.formDialog.data.type,
|
||||
lnbits_wallets: JSON.stringify(this.formDialog.data.lnbits_wallets),
|
||||
urls: JSON.stringify(this.formDialog.data.urls),
|
||||
exchange: this.formDialog.data.exchange,
|
||||
mempool_endpoint: this.formDialog.data.mempool_endpoint,
|
||||
refresh_time: this.formDialog.data.refresh_time,
|
||||
|
||||
Reference in New Issue
Block a user