From 63de77ccddb823cc961ddd1efca1e5efa4eaacdc Mon Sep 17 00:00:00 2001 From: Philip Molares Date: Wed, 25 Nov 2020 10:17:19 +0100 Subject: [PATCH] fixed avatar url as we moved it in the reuse pr Signed-off-by: Philip Molares --- public/api/v2/me | 2 +- public/api/v2/users/dermolly | 2 +- public/api/v2/users/emcrx | 2 +- public/api/v2/users/mrdrogdrog | 2 +- .../connection-indicator/connection-indicator.tsx | 4 ++-- .../document-bar/document-info/document-info-button.tsx | 4 ++-- .../editor/document-bar/permissions/permission-modal.tsx | 2 +- src/components/pad-view-only/document-infobar.tsx | 4 ++-- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/public/api/v2/me b/public/api/v2/me index 614b3db6e..d3c9ef7ac 100644 --- a/public/api/v2/me +++ b/public/api/v2/me @@ -1,6 +1,6 @@ { "id": "mockUser", - "photo": "/avatar.png", + "photo": "/img/avatar.png", "name": "Test", "status": "ok", "provider": "internal" diff --git a/public/api/v2/users/dermolly b/public/api/v2/users/dermolly index 60dd3d4b2..00ce647cf 100644 --- a/public/api/v2/users/dermolly +++ b/public/api/v2/users/dermolly @@ -1,6 +1,6 @@ { "id": "dermolly", - "photo": "/avatar.png", + "photo": "/img/avatar.png", "name": "Philip", "status": "ok", "provider": "internal" diff --git a/public/api/v2/users/emcrx b/public/api/v2/users/emcrx index 16d83df3d..f413b14a9 100644 --- a/public/api/v2/users/emcrx +++ b/public/api/v2/users/emcrx @@ -1,6 +1,6 @@ { "id": "emcrx", - "photo": "/avatar.png", + "photo": "/img/avatar.png", "name": "Erik", "status": "ok", "provider": "internal" diff --git a/public/api/v2/users/mrdrogdrog b/public/api/v2/users/mrdrogdrog index 05c7863c4..bdbf352bc 100644 --- a/public/api/v2/users/mrdrogdrog +++ b/public/api/v2/users/mrdrogdrog @@ -1,6 +1,6 @@ { "id": "mrdrogdrog", - "photo": "/avatar.png", + "photo": "/img/avatar.png", "name": "Tilman", "status": "ok", "provider": "internal" diff --git a/src/components/editor/document-bar/connection-indicator/connection-indicator.tsx b/src/components/editor/document-bar/connection-indicator/connection-indicator.tsx index 10d7edabd..05bd75f6f 100644 --- a/src/components/editor/document-bar/connection-indicator/connection-indicator.tsx +++ b/src/components/editor/document-bar/connection-indicator/connection-indicator.tsx @@ -19,10 +19,10 @@ const ConnectionIndicator: React.FC = () => { - + - + diff --git a/src/components/editor/document-bar/document-info/document-info-button.tsx b/src/components/editor/document-bar/document-info/document-info-button.tsx index 8decc9786..d880e6ee2 100644 --- a/src/components/editor/document-bar/document-info/document-info-button.tsx +++ b/src/components/editor/document-bar/document-info/document-info-button.tsx @@ -34,7 +34,7 @@ export const DocumentInfoButton: React.FC = () => { mode={DocumentInfoLineWithTimeMode.CREATED} time={DateTime.local().minus({ days: 11 })} userName={'Tilman'} - profileImageSrc={'/avatar.png'}/> + profileImageSrc={'/img/avatar.png'}/> { mode={DocumentInfoLineWithTimeMode.EDITED} time={DateTime.local().minus({ minutes: 3 })} userName={'Philip'} - profileImageSrc={'/avatar.png'}/> + profileImageSrc={'/img/avatar.png'}/> diff --git a/src/components/editor/document-bar/permissions/permission-modal.tsx b/src/components/editor/document-bar/permissions/permission-modal.tsx index 7f70f9b39..2b7d69db9 100644 --- a/src/components/editor/document-bar/permissions/permission-modal.tsx +++ b/src/components/editor/document-bar/permissions/permission-modal.tsx @@ -114,7 +114,7 @@ export const PermissionModal: React.FC = ({ show, onChang const addUser = (name: Principal['name']) => { setUserList(list => list.concat({ id: name, - photo: '/avatar.png', + photo: '/img/avatar.png', name: name, canEdit: false })) diff --git a/src/components/pad-view-only/document-infobar.tsx b/src/components/pad-view-only/document-infobar.tsx index 24449758f..9397905cb 100644 --- a/src/components/pad-view-only/document-infobar.tsx +++ b/src/components/pad-view-only/document-infobar.tsx @@ -45,12 +45,12 @@ export const DocumentInfobar: React.FC = ({ mode={DocumentInfoLineWithTimeMode.CREATED} time={ DateTime.fromSeconds(createdTime) } userName={createdAuthor} - profileImageSrc={'/avatar.png'}/> + profileImageSrc={'/img/avatar.png'}/> + profileImageSrc={'/img/avatar.png'}/>