Merge pull request #34 from ArabCoders/dev

Show no downloads only when there are no downloads
This commit is contained in:
Abdulmohsen 2023-12-02 15:04:40 +03:00 committed by GitHub
commit b5b833907a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 27 additions and 7 deletions

26
.github/workflows/delete-builds.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: delete builds
on:
workflow_dispatch:
inputs:
logLevel:
description: "Log level"
required: true
default: "warning"
type: choice
options:
- info
- warning
- debug
schedule:
- cron: "0 0 * * *"
jobs:
delete-builds:
runs-on: ubuntu-latest
steps:
- uses: actions/delete-package-versions@v4
with:
package-name: "ytptube"
package-type: "container"
min-versions-to-keep: 20

View file

@ -79,9 +79,3 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha, scope=${{ github.workflow }}
cache-to: type=gha, scope=${{ github.workflow }}
- uses: actions/delete-package-versions@v4
with:
package-name: "ytptube"
package-type: "container"
min-versions-to-keep: 5

View file

@ -160,7 +160,7 @@
</div>
</div>
<div class="content has-text-centered" v-if="!hasCompleted">
<div class="content has-text-centered" v-if="!hasItems">
<p v-if="config.isConnected">
<span class="icon-text">
<span class="icon has-text-success">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 39 KiB