Fix for Invidious playlists not having a authorId
This commit is contained in:
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "Materialious",
|
||||
"version": "1.12.10",
|
||||
"version": "1.12.11",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "Materialious",
|
||||
"version": "1.12.10",
|
||||
"version": "1.12.11",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@capacitor-community/electron": "^5.0.0",
|
||||
|
||||
@@ -577,11 +577,15 @@
|
||||
{$_('videos')}
|
||||
</p>
|
||||
<p>
|
||||
<a
|
||||
href={resolve(`/channel/[authorId]`, {
|
||||
authorId: $playlistCacheStore[data.playlistId].info.authorId
|
||||
})}>{$playlistCacheStore[data.playlistId].info.author}</a
|
||||
>
|
||||
{#if $playlistCacheStore[data.playlistId].info.authorId}
|
||||
<a
|
||||
href={resolve(`/channel/[authorId]`, {
|
||||
authorId: $playlistCacheStore[data.playlistId].info.authorId
|
||||
})}>{$playlistCacheStore[data.playlistId].info.author}</a
|
||||
>
|
||||
{:else}
|
||||
{$playlistCacheStore[data.playlistId].info.author}
|
||||
{/if}
|
||||
</p>
|
||||
<nav>
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user