Skip to content

Commit 15d762a

Browse files
committed
fix: use uid in gradient element id attribut
1 parent ef3dbea commit 15d762a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Gradient.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<component
33
:is="gradientComponent"
4-
:id="`ep-${type}-gradient-${id}`"
4+
:id="`ep-${type}-gradient-${uid}`"
55
x1="0%"
66
y1="100%"
77
x2="0%"
@@ -31,7 +31,7 @@ export default {
3131
type: String,
3232
required: true,
3333
},
34-
id: {
34+
uid: {
3535
type: Number,
3636
required: true,
3737
},

0 commit comments

Comments
 (0)