OKyJIucT
10/25/2018 - 9:02 AM

v-chip delete

v-chip delete

<template slot="items" slot-scope="props">
    <td>{{ props.item.id }}</td>
    <td class="text-xs-left">{{ props.item.name }}</td>
    <td class="text-xs-left">
        <v-chip
                v-for="(country) in props.item.countryList" :key="country.id"
                @input="deleteCountry(props.item.id, country.id)"
        >
            <div>
                <flag :iso="country.code"/>&nbsp;{{country.name}}
            </div>
        </v-chip>
    </td>
    <td class="text-xs-center">
        <v-btn flat icon @click="editGeoGroup(props.item.id)">
            <icon-edit/>
        </v-btn>
    </td>
</template>