Commit a8195084 authored by tobinski's avatar tobinski
Browse files

Use PersonInfoRow in Edit Form

parent 4fd7466d
......@@ -26,12 +26,8 @@
<b-list-group flush>
<template v-for="(concordance, k1) in list">
<b-list-group-item v-for="(person, key) in concordance.persons" :key="`${k1}${key}`">
<div class="d-flex justify-content-between group-row" :class="person.error ? 'has-error':''">
<div class="provider">{{person.provider}}</div>
<div class="d-flex" :class="person.error ? 'has-error':''">
<PersonInfoRow :person="person" class="flex-grow-1"></PersonInfoRow>
<div class="action">
<b-button @click="preRemovePerson(person)" size="sm" v-b-tooltip.hover title="Remove person from concordance">
<b-icon icon="trash"></b-icon>
......@@ -50,8 +46,10 @@
import {mapGetters, mapMutations, mapActions} from 'vuex';
import checks from '../plugins/checks';
import {Getters} from "@/store/concordance/type";
import PersonInfoRow from "@/components/PersonInfoRow";
export default {
name: "EditForm",
components: {PersonInfoRow},
data() {
return {
isOpen: false,
......@@ -278,15 +276,6 @@
.group-row {
flex-wrap: nowrap;
> div {
text-align: left;
width: 20%;
.provider {
width: 17%;
.action {
width: 3%;
text-align: right;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment