mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
add a default action to a setting: for text click
This commit is contained in:
committed by
Mungai Njoroge
parent
c1fb05e2a0
commit
6d84283efd
@@ -10,7 +10,12 @@
|
||||
:key="index"
|
||||
:class="{ inactive: setting.inactive && setting.inactive() }"
|
||||
>
|
||||
<div class="title ellip" @click="setting.action()">
|
||||
<div
|
||||
class="title ellip"
|
||||
@click="
|
||||
setting.defaultAction ? setting.defaultAction() : setting.action()
|
||||
"
|
||||
>
|
||||
{{ setting.title }}
|
||||
</div>
|
||||
<div class="options">
|
||||
|
||||
Reference in New Issue
Block a user