Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Sep 21, 2022
1 parent fa91842 commit 19274f0
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 36 deletions.
1 change: 1 addition & 0 deletions routes/api/feeds/_feed/get-feed.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export async function getFeed (fastify, opts) {
const episodesQuery = getEpisodesQuery({
ownerId: userId,
feedId,
sensitive: true,
perPage: 100
})

Expand Down
9 changes: 5 additions & 4 deletions web/components/episode-title/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ export const episodeTitle = Component(({
'bc-episode-title-small': small
})}">
${
e.ready ? '✅' : '⏱'
}
${
e.error ? '❌' : null
e.error
? '❌'
: e.ready
? '✅'
: '⏱'
}
${e.type === 'redirect'
? '☁️'
Expand Down
6 changes: 3 additions & 3 deletions web/components/episode/episode-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ export const episodeView = Component(({
${e.error
? html`
<div class="bc-episode-error-box">
<strong>Error:</strong>
<details class="bc-episode-error-box">
<summary>Error</summary>
<pre>${e.error}</pre>
</div>
</details>
`
: null
}
Expand Down
27 changes: 27 additions & 0 deletions web/docs/client.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
4 changes: 3 additions & 1 deletion web/global.vars.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@ export default async () => {
}

export const browser = {
'process.env.REGISTRATION': +process.env.REGISTRATION
'process.env.REGISTRATION': +process.env.REGISTRATION,
'process.env.TRANSPORT': process.env.TRANSPORT,
'process.env.HOST': process.env.HOST
}
28 changes: 0 additions & 28 deletions web/resources/client.js

This file was deleted.

3 changes: 3 additions & 0 deletions web/root.layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ export default function defaultRootLayout ({
${typeof children === 'string' ? html([children]) : children /* Support both uhtml and string children. Optional. */}
</main>
<footer class="bc-footer">
<div>
<a href="/docs">docs</a>
</div>
<div>
<a href="https://twitter.com/breadcrum_">@breadcrum_</a>
</div>
Expand Down

0 comments on commit 19274f0

Please sign in to comment.