proper modified icon + popup
This commit is contained in:
parent
a664fde02f
commit
e695506c51
3 changed files with 52 additions and 5 deletions
|
|
@ -6,30 +6,30 @@
|
|||
:checked="state"
|
||||
@change="update"
|
||||
:disabled="disabled"
|
||||
>
|
||||
>
|
||||
<span
|
||||
v-if="!!$slots.default"
|
||||
class="label"
|
||||
>
|
||||
<slot />
|
||||
</span>
|
||||
<ModifiedIcon :changed="isChanged" />
|
||||
</Checkbox>
|
||||
<span v-if="isChanged">
|
||||
<strong>CHANGED</strong>
|
||||
</span>
|
||||
</label>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { get, set } from 'lodash'
|
||||
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
||||
import ModifiedIcon from './modified_icon.vue'
|
||||
export default {
|
||||
props: [
|
||||
'path',
|
||||
'disabled'
|
||||
],
|
||||
components: {
|
||||
Checkbox
|
||||
Checkbox,
|
||||
ModifiedIcon
|
||||
},
|
||||
computed: {
|
||||
pathDefault () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue