Skip to content

Commit a1cdff2

Browse files
author
Javier Diaz
committed
fix: fixed status attribute and pulse effect
1 parent 44154e7 commit a1cdff2

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/StatusIndicator/src/main.vue

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<span class="status-indicator"></span>
2+
<span class="status-indicator" :[status]="true" :pulse="pulse"></span>
33
</template>
44
<script>
55
export default {
@@ -18,10 +18,6 @@ export default {
1818
default: false,
1919
},
2020
},
21-
mounted() {
22-
if (this.status !== '') this.$el[this.status] = '';
23-
if (this.pulse) this.$el.pulse = '';
24-
},
2521
};
2622
</script>
2723
<style src="./status-indicator.css"></style>

0 commit comments

Comments
 (0)