chore(dashboard): remove incorrect git commit id on bot status page

This commit is contained in:
spiral 2022-09-29 17:58:31 +00:00
parent 014999271f
commit f2aa458db8
No known key found for this signature in database
GPG Key ID: 244A11E4B0BCF40E
2 changed files with 0 additions and 5 deletions

View File

@ -45,7 +45,6 @@ public class PrivateController: PKControllerBase
var o = new JObject();
o.Add("shards", shards.ToJson());
o.Add("stats", stats.ToJson(guildCount, channelCount));
o.Add("version", BuildInfoService.FullVersion);
return Ok(o);
}

View File

@ -9,7 +9,6 @@
let shards = [];
let clusters = {};
let pingAverage = "";
let currentCommitMsg = "";
let foundShard = {
id: 1,
@ -35,8 +34,6 @@
return shard;
});
currentCommitMsg = `Current Git commit: <a href="https://github.com/PluralKit/PluralKit/commit/${pkdata.version}">${pkdata.version.slice(0,7)}</a>`;
if (data[0].cluster_id === 0) {
let clusterData = {};
data.forEach(shard => {
@ -107,7 +104,6 @@
</CardTitle>
</CardHeader>
<CardBody>
<span>{@html currentCommitMsg}</span>
<br>
<noscript>Please enable JavaScript to view this page!</noscript>