Skip to content

Commit

Permalink
fix: fixed status attribute and pulse effect
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Diaz committed Jul 21, 2019
1 parent 44154e7 commit a1cdff2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/StatusIndicator/src/main.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<span class="status-indicator"></span>
<span class="status-indicator" :[status]="true" :pulse="pulse"></span>
</template>
<script>
export default {
Expand All @@ -18,10 +18,6 @@ export default {
default: false,
},
},
mounted() {
if (this.status !== '') this.$el[this.status] = '';
if (this.pulse) this.$el.pulse = '';
},
};
</script>
<style src="./status-indicator.css"></style>

0 comments on commit a1cdff2

Please sign in to comment.