chore(dashboard): remove incorrect git commit id on bot status page
This commit is contained in:
parent
014999271f
commit
f2aa458db8
@ -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);
|
||||
}
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user