feat(mobile): partner sharing (#2541)

* feat(mobile): partner sharing

* getAllAssets for other users

* i18n

* fix tests

* try to fix web tests

* shared with/by confusion

* error logging

* guard against outdated server version
This commit is contained in:
Fynn Petersen-Frey
2023-05-25 05:52:43 +02:00
committed by GitHub
parent 1613ae9185
commit bcc2c34eef
48 changed files with 1729 additions and 226 deletions

View File

@@ -24,7 +24,7 @@
onMount(async () => {
try {
const { data: assets } = await api.assetApi.getAllAssets(undefined, true);
const { data: assets } = await api.assetApi.getAllAssets(undefined, undefined, true);
$archivedAsset = assets;
} catch {
handleError(Error, 'Unable to load archived assets');

View File

@@ -20,7 +20,7 @@
onMount(async () => {
try {
const { data: assets } = await api.assetApi.getAllAssets(true, undefined);
const { data: assets } = await api.assetApi.getAllAssets(undefined, true, undefined);
favorites = assets;
} catch {
handleError(Error, 'Unable to load favorites');