Used tree node views in slot fill selection

This commit is contained in:
Stefan Zermatten
2020-10-17 16:56:23 +02:00
parent e8da7a6c17
commit ebab41838c
9 changed files with 14 additions and 8 deletions

View File

@@ -1,6 +1,7 @@
<template lang="html">
<div class="layout row align-center justify-start">
<property-icon
v-if="!hideIcon"
class="mr-2"
:model="model"
:class="selected && 'primary--text'"

View File

@@ -1,6 +1,7 @@
<template lang="html">
<div class="layout row align-center justify-start">
<property-icon
v-if="!hideIcon"
class="mr-2"
:model="model"
:color="model.color"

View File

@@ -1,6 +1,7 @@
<template lang="html">
<div class="layout row align-center justify-start">
<v-icon
v-if="!hideIcon"
class="mr-2"
:color="model.color"
:class="selected && 'primary--text'"

View File

@@ -1,6 +1,7 @@
<template lang="html">
<div class="layout row align-center justify-start">
<property-icon
v-if="!hideIcon"
class="mr-2"
:model="model"
:color="model.color"

View File

@@ -1,6 +1,7 @@
<template lang="html">
<div class="layout row align-center justify-start">
<v-icon
v-if="!hideIcon"
class="mr-2"
:class="selected && 'primary--text'"
:color="model.color"

View File

@@ -1,13 +1,14 @@
<template lang="html">
<div class="layout row align-center justify-start">
<property-icon
v-if="!hideIcon"
class="mr-2"
:model="model"
:color="model.color"
:class="selected && 'primary--text'"
/>
<v-icon
v-if="model.equipped"
v-if="model.equipped && !hideIcon"
class="mr-2"
:class="selected && 'primary--text'"
small

View File

@@ -11,6 +11,7 @@ export default {
default: () => ({}),
},
selected: Boolean,
hideIcon: Boolean,
},
computed: {
title(){