| Línea 5... |
Línea 5... |
| 5 |
import { setTimelineUrl } from '../../../../../redux/feed/feed.actions';
|
5 |
import { setTimelineUrl } from '../../../../../redux/feed/feed.actions';
|
| 6 |
import FeedList from '../../../../../dashboard/templates/linkedin/Feed/FeedList';
|
6 |
import FeedList from '../../../../../dashboard/templates/linkedin/Feed/FeedList';
|
| 7 |
import GroupInfo from '../../../../../group/view/templates/linkedin/components/GroupInfo'
|
7 |
import GroupInfo from '../../../../../group/view/templates/linkedin/components/GroupInfo'
|
| 8 |
import AboutCompany from '../components/AboutCompany';
|
8 |
import AboutCompany from '../components/AboutCompany';
|
| 9 |
import CompanyFollowers from '../components/CompanyFollowers';
|
9 |
import CompanyFollowers from '../components/CompanyFollowers';
|
| - |
|
10 |
import CompanyActions from '../components/CompanyActions';
|
| Línea 10... |
Línea 11... |
| 10 |
|
11 |
|
| 11 |
const View = ({ backendVars }) => {
|
- |
|
| 12 |
|
12 |
const View = ({ backendVars }) => {
|
| 13 |
const [authorizedLinks, setAuthorizedLinks] = useState(null);
|
13 |
const [authorizedLinks, setAuthorizedLinks] = useState(null);
|
| 14 |
const [isFollower, setIsFollower] = useState(false);
|
14 |
const [isFollower, setIsFollower] = useState(false);
|
| Línea 15... |
Línea 15... |
| 15 |
const dispatch = useDispatch()
|
15 |
const dispatch = useDispatch()
|
| Línea 46... |
Línea 46... |
| 46 |
accessibility={backendVars.industry}
|
46 |
accessibility={backendVars.industry}
|
| 47 |
type='company'
|
47 |
type='company'
|
| 48 |
/>
|
48 |
/>
|
| 49 |
</div>
|
49 |
</div>
|
| 50 |
<div className="d-flex flex-column" style={{ gap: '.5rem' }}>
|
50 |
<div className="d-flex flex-column" style={{ gap: '.5rem' }}>
|
| - |
|
51 |
<CompanyActions
|
| - |
|
52 |
name={backendVars.companyName}
|
| - |
|
53 |
image={backendVars.image}
|
| - |
|
54 |
companyId={backendVars.companyId}
|
| - |
|
55 |
cover={backendVars.cover}
|
| - |
|
56 |
overview={backendVars.overview}
|
| - |
|
57 |
refetch={() => fetchAuthorizedLinks()}
|
| - |
|
58 |
actionLinks={authorizedLinks}
|
| - |
|
59 |
/>
|
| 51 |
{!isFollower
|
60 |
{!isFollower
|
| 52 |
? <AboutCompany {...backendVars} />
|
61 |
? <AboutCompany {...backendVars} />
|
| 53 |
: <FeedList image={`/storage/type/company/code/${backendVars.companyId}/${backendVars.image ? `filename/${backendVars.image}` : ""}`} />
|
62 |
: <FeedList image={`/storage/type/company/code/${backendVars.companyId}/${backendVars.image ? `filename/${backendVars.image}` : ""}`} />
|
| 54 |
}
|
63 |
}
|
| 55 |
</div>
|
64 |
</div>
|