Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 16726 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 16726 Rev 16740
Línea 59... Línea 59...
59
            owner_file_document: feed.shared_file_document,
59
            owner_file_document: feed.shared_file_document,
60
            owner_time_elapse: feed.shared_time_elapse
60
            owner_time_elapse: feed.shared_time_elapse
61
          }}
61
          }}
62
          type={feed.feed_content_type}
62
          type={feed.feed_content_type}
63
        />
63
        />
-
 
64
        {feed.comments_link_add && (
-
 
65
          <>
64
        <CommentForm
66
            <CommentForm
65
          image={feed.owner_image}
67
              image={feed.owner_image}
66
          profileUrl={feed.owner_url}
68
              profileUrl={feed.owner_url}
67
          sendUrl={feed.comments_link_add}
69
              sendUrl={feed.comments_link_add}
68
          onSubmit={(data) => {
70
              onSubmit={(data) => {
69
            setTotalComments(data.total_comments)
71
                setTotalComments(data.total_comments)
70
            setComments(data.data)
72
                setComments(data.data)
71
          }}
73
              }}
72
        />
74
            />
73
        <CommentsList comments={comments} onDelete={deleteComment} />
75
            <CommentsList comments={comments} onDelete={deleteComment} />
-
 
76
          </>
-
 
77
        )}
74
      </article>
78
      </article>
75
      <DeleteModal
79
      <DeleteModal
76
        url={feed.feed_delete_url}
80
        url={feed.feed_delete_url}
77
        isOpen={showDeleteModal}
81
        isOpen={showDeleteModal}
78
        closeModal={toggleModal}
82
        closeModal={toggleModal}
Línea 94... Línea 98...
94
          <h2>{name}</h2>
98
          <h2>{name}</h2>
95
        </a>
99
        </a>
96
        <span>{timeElapsed}</span>
100
        <span>{timeElapsed}</span>
97
      </div>
101
      </div>
Línea 98... Línea 102...
98
 
102
 
99
      {options && <Options options={options} />}
103
      {Boolean(options.length) && <Options options={options} />}
100
    </div>
104
    </div>
101
  )
105
  )
Línea 102... Línea 106...
102
}
106
}