Added color picking to library properties

This commit is contained in:
Thaum Rystra
2020-05-25 19:09:55 +02:00
parent 2859bf0e00
commit dfb144b8dc
11 changed files with 20 additions and 10 deletions

View File

@@ -1,5 +1,7 @@
<template lang="html">
<v-icon>{{icon}}</v-icon>
<v-icon :color="color">
{{ icon }}
</v-icon>
</template>
<script>
@@ -8,6 +10,7 @@ import { getPropertyIcon } from '/imports/constants/PROPERTIES.js';
export default {
props: {
type: String,
color: String,
},
computed: {
icon(){