fix(web): small fixes for empty placeholder (#7859)
This commit is contained in:
@@ -375,11 +375,7 @@
|
||||
|
||||
<!-- Empty Message -->
|
||||
{:else}
|
||||
<EmptyPlaceholder
|
||||
text="Create an album to organize your photos and videos"
|
||||
actionHandler={handleCreateAlbum}
|
||||
alt="Empty albums"
|
||||
/>
|
||||
<EmptyPlaceholder text="Create an album to organize your photos and videos" onClick={handleCreateAlbum} />
|
||||
{/if}
|
||||
</UserPageLayout>
|
||||
|
||||
|
||||
@@ -45,10 +45,6 @@
|
||||
|
||||
<UserPageLayout hideNavbar={$isMultiSelectState} title={data.meta.title} scrollbar={false}>
|
||||
<AssetGrid {assetStore} {assetInteractionStore} removeAction={AssetAction.UNARCHIVE}>
|
||||
<EmptyPlaceholder
|
||||
text="Archive photos and videos to hide them from your Photos view"
|
||||
alt="Empty archive"
|
||||
slot="empty"
|
||||
/>
|
||||
<EmptyPlaceholder text="Archive photos and videos to hide them from your Photos view" slot="empty" />
|
||||
</AssetGrid>
|
||||
</UserPageLayout>
|
||||
|
||||
@@ -50,10 +50,6 @@
|
||||
|
||||
<UserPageLayout hideNavbar={$isMultiSelectState} title={data.meta.title} scrollbar={false}>
|
||||
<AssetGrid {assetStore} {assetInteractionStore} removeAction={AssetAction.UNFAVORITE}>
|
||||
<EmptyPlaceholder
|
||||
text="Add favorites to quickly find your best pictures and videos"
|
||||
alt="Empty favorites"
|
||||
slot="empty"
|
||||
/>
|
||||
<EmptyPlaceholder text="Add favorites to quickly find your best pictures and videos" slot="empty" />
|
||||
</AssetGrid>
|
||||
</UserPageLayout>
|
||||
|
||||
@@ -88,10 +88,6 @@
|
||||
{#if $user.memoriesEnabled}
|
||||
<MemoryLane />
|
||||
{/if}
|
||||
<EmptyPlaceholder
|
||||
text="CLICK TO UPLOAD YOUR FIRST PHOTO"
|
||||
actionHandler={() => openFileUploadDialog()}
|
||||
slot="empty"
|
||||
/>
|
||||
<EmptyPlaceholder text="CLICK TO UPLOAD YOUR FIRST PHOTO" onClick={() => openFileUploadDialog()} slot="empty" />
|
||||
</AssetGrid>
|
||||
</UserPageLayout>
|
||||
|
||||
@@ -92,7 +92,6 @@
|
||||
{#if data.sharedAlbums.length === 0}
|
||||
<EmptyPlaceholder
|
||||
text="Create a shared album to share photos and videos with people in your network"
|
||||
alt="Empty album list"
|
||||
src={empty2Url}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
@@ -91,12 +91,7 @@
|
||||
<p class="font-medium text-gray-500/60 dark:text-gray-300/60 p-4">
|
||||
Trashed items will be permanently deleted after {$serverConfig.trashDays} days.
|
||||
</p>
|
||||
<EmptyPlaceholder
|
||||
text="Trashed photos and videos will show up here."
|
||||
alt="Empty trash can"
|
||||
slot="empty"
|
||||
src={empty3Url}
|
||||
/>
|
||||
<EmptyPlaceholder text="Trashed photos and videos will show up here." src={empty3Url} slot="empty" />
|
||||
</AssetGrid>
|
||||
</UserPageLayout>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user