Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 16794 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 16794 Rev 16795
Línea 51... Línea 51...
51
        <span id="locations-records">
51
        <span id="locations-records">
52
          {locationState.map((location, index) => (
52
          {locationState.map((location, index) => (
53
            <>
53
            <>
54
              <p key={index}>
54
              <p key={index}>
55
                {location.formatted_address}
55
                {location.formatted_address}
56
                {location.is_main === 'y' ? ' (Principal)' : '(Secundaria)'}
56
                {location.is_main === 'y' ? ' (Principal)' : ' (Secundaria)'}
57
                <button
57
                <button
58
                  onClick={() => editLocation(location.link_edit, location)}
58
                  onClick={() => editLocation(location.link_edit, location)}
59
                  className="btn btn-location-edit"
59
                  className="btn btn-location-edit"
60
                  style={{ padding: '.3rem' }}
60
                  style={{ padding: '.3rem' }}
61
                >
61
                >