mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat(server) Tagging system (#1046)
This commit is contained in:
parent
6e2763b72c
commit
5de8ea162d
74 changed files with 8768 additions and 167 deletions
|
|
@ -183,7 +183,7 @@
|
|||
};
|
||||
|
||||
const toggleFavorite = async () => {
|
||||
const { data } = await api.assetApi.updateAssetById(asset.id, {
|
||||
const { data } = await api.assetApi.updateAsset(asset.id, {
|
||||
isFavorite: !asset.isFavorite
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -62,7 +62,9 @@
|
|||
style={`width: ${getStorageUsagePercentage()}%`}
|
||||
/>
|
||||
</div>
|
||||
<p class="text-xs">{asByteUnitString(serverInfo?.diskUseRaw)} of {asByteUnitString(serverInfo?.diskSizeRaw)} used</p>
|
||||
<p class="text-xs">
|
||||
{asByteUnitString(serverInfo?.diskUseRaw)} of {asByteUnitString(serverInfo?.diskSizeRaw)} used
|
||||
</p>
|
||||
{:else}
|
||||
<div class="mt-2">
|
||||
<LoadingSpinner />
|
||||
|
|
|
|||
|
|
@ -115,9 +115,7 @@
|
|||
<input
|
||||
disabled
|
||||
class="bg-gray-100 border w-full p-1 rounded-md text-[10px] px-2"
|
||||
value={`[${getBytesWithUnit(uploadAsset.file.size)}] ${
|
||||
uploadAsset.file.name
|
||||
}`}
|
||||
value={`[${getBytesWithUnit(uploadAsset.file.size)}] ${uploadAsset.file.name}`}
|
||||
/>
|
||||
|
||||
<div class="w-full bg-gray-300 h-[15px] rounded-md mt-[5px] text-white relative">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue