Skip to content

Commit

Permalink
fix: version title
Browse files Browse the repository at this point in the history
  • Loading branch information
qiin2333 committed May 28, 2024
1 parent 54e9d22 commit a3ce89d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,3 @@
path = src_assets/common/sunshine-control-panel
url = https://github.com/qiin2333/sunshine-control-panel.git
branch = master
[submodule "third-party/nlohmann_json"]
path = third-party/nlohmann_json
url = https://github.com/nlohmann/json
branch = master
4 changes: 2 additions & 2 deletions src_assets/common/assets/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h2>Version {{version.version}}</h2>
<div class="alert alert-warning">
<div class="d-flex justify-content-between">
<div class="my-2">有新的 <b>基地版</b> sunshine可以更新!</div>
<a class="btn btn-success m-1" href="https://github.com/qiin2333/Sunshine/releases/alpha"
<a class="btn btn-success m-1" :href="preReleaseVersion.release.html_url"
target="_blank">{{ $t('index.download')
}}</a>
</div>
Expand Down Expand Up @@ -114,7 +114,7 @@ <h3>{{githubVersion.release.name}}</h3>
} catch (e) {
console.error(e);
}
if (this.version) document.title += ` Ver ${this.version}`;
if (this.version) document.title += ` Ver ${this.version.version}`;
this.loading = false;
},
computed: {
Expand Down

0 comments on commit a3ce89d

Please sign in to comment.