Changed dialog stack from using element ids to data-ids to allow duplicate ids to work

This commit is contained in:
Stefan Zermatten
2019-02-18 15:17:31 +02:00
parent a31a70f435
commit e63ae96cb5
9 changed files with 38 additions and 36 deletions

View File

@@ -2,9 +2,9 @@
<v-list-tile
class="effect-list-tile"
:class="{disabled: !enabled}"
:id="elementId"
:data-id="_id"
v-on="$listeners.click ? { click(e){
$emit('click', {$props, elementId})
$emit('click', $props)
} } : {}"
>
<v-layout row align-center class="net-effect">
@@ -46,11 +46,6 @@
stat: String,
statName: String,
},
computed: {
elementId(){
return `${this._uid}-${this._id}`
},
},
methods: {
getEffectIcon,
getOperation(op, value){