fixed avatar url as we moved it in the reuse pr

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2020-11-25 10:17:19 +01:00 committed by Philip Molares
parent c63e92e47f
commit 63de77ccdd
8 changed files with 11 additions and 11 deletions

View file

@ -1,6 +1,6 @@
{ {
"id": "mockUser", "id": "mockUser",
"photo": "/avatar.png", "photo": "/img/avatar.png",
"name": "Test", "name": "Test",
"status": "ok", "status": "ok",
"provider": "internal" "provider": "internal"

View file

@ -1,6 +1,6 @@
{ {
"id": "dermolly", "id": "dermolly",
"photo": "/avatar.png", "photo": "/img/avatar.png",
"name": "Philip", "name": "Philip",
"status": "ok", "status": "ok",
"provider": "internal" "provider": "internal"

View file

@ -1,6 +1,6 @@
{ {
"id": "emcrx", "id": "emcrx",
"photo": "/avatar.png", "photo": "/img/avatar.png",
"name": "Erik", "name": "Erik",
"status": "ok", "status": "ok",
"provider": "internal" "provider": "internal"

View file

@ -1,6 +1,6 @@
{ {
"id": "mrdrogdrog", "id": "mrdrogdrog",
"photo": "/avatar.png", "photo": "/img/avatar.png",
"name": "Tilman", "name": "Tilman",
"status": "ok", "status": "ok",
"provider": "internal" "provider": "internal"

View file

@ -19,10 +19,10 @@ const ConnectionIndicator: React.FC = () => {
</Dropdown.Toggle> </Dropdown.Toggle>
<Dropdown.Menu> <Dropdown.Menu>
<Dropdown.Item disabled={true} className="d-flex align-items-center p-0"> <Dropdown.Item disabled={true} className="d-flex align-items-center p-0">
<UserLine name="Philip Molares" photo="/avatar.png" color="red" status={ActiveIndicatorStatus.INACTIVE}/> <UserLine name="Philip Molares" photo="/img/avatar.png" color="red" status={ActiveIndicatorStatus.INACTIVE}/>
</Dropdown.Item> </Dropdown.Item>
<Dropdown.Item disabled={true} className="d-flex align-items-center p-0"> <Dropdown.Item disabled={true} className="d-flex align-items-center p-0">
<UserLine name="Philip Molares" photo="/avatar.png" color="blue" status={ActiveIndicatorStatus.ACTIVE}/> <UserLine name="Philip Molares" photo="/img/avatar.png" color="blue" status={ActiveIndicatorStatus.ACTIVE}/>
</Dropdown.Item> </Dropdown.Item>
</Dropdown.Menu> </Dropdown.Menu>
</Dropdown> </Dropdown>

View file

@ -34,7 +34,7 @@ export const DocumentInfoButton: React.FC = () => {
mode={DocumentInfoLineWithTimeMode.CREATED} mode={DocumentInfoLineWithTimeMode.CREATED}
time={DateTime.local().minus({ days: 11 })} time={DateTime.local().minus({ days: 11 })}
userName={'Tilman'} userName={'Tilman'}
profileImageSrc={'/avatar.png'}/> profileImageSrc={'/img/avatar.png'}/>
</ListGroup.Item> </ListGroup.Item>
<ListGroup.Item> <ListGroup.Item>
<DocumentInfoTimeLine <DocumentInfoTimeLine
@ -42,7 +42,7 @@ export const DocumentInfoButton: React.FC = () => {
mode={DocumentInfoLineWithTimeMode.EDITED} mode={DocumentInfoLineWithTimeMode.EDITED}
time={DateTime.local().minus({ minutes: 3 })} time={DateTime.local().minus({ minutes: 3 })}
userName={'Philip'} userName={'Philip'}
profileImageSrc={'/avatar.png'}/> profileImageSrc={'/img/avatar.png'}/>
</ListGroup.Item> </ListGroup.Item>
<ListGroup.Item> <ListGroup.Item>
<DocumentInfoLine icon={'users'} size={'2x'}> <DocumentInfoLine icon={'users'} size={'2x'}>

View file

@ -114,7 +114,7 @@ export const PermissionModal: React.FC<PermissionsModalProps> = ({ show, onChang
const addUser = (name: Principal['name']) => { const addUser = (name: Principal['name']) => {
setUserList(list => list.concat({ setUserList(list => list.concat({
id: name, id: name,
photo: '/avatar.png', photo: '/img/avatar.png',
name: name, name: name,
canEdit: false canEdit: false
})) }))

View file

@ -45,12 +45,12 @@ export const DocumentInfobar: React.FC<DocumentInfobarProps> = ({
mode={DocumentInfoLineWithTimeMode.CREATED} mode={DocumentInfoLineWithTimeMode.CREATED}
time={ DateTime.fromSeconds(createdTime) } time={ DateTime.fromSeconds(createdTime) }
userName={createdAuthor} userName={createdAuthor}
profileImageSrc={'/avatar.png'}/> profileImageSrc={'/img/avatar.png'}/>
<DocumentInfoTimeLine <DocumentInfoTimeLine
mode={DocumentInfoLineWithTimeMode.EDITED} mode={DocumentInfoLineWithTimeMode.EDITED}
time={ DateTime.fromSeconds(changedTime) } time={ DateTime.fromSeconds(changedTime) }
userName={changedAuthor} userName={changedAuthor}
profileImageSrc={'/avatar.png'}/> profileImageSrc={'/img/avatar.png'}/>
<hr/> <hr/>
</div> </div>
<span className={'ml-auto'}> <span className={'ml-auto'}>