mirror of
https://github.com/discourse/discourse.git
synced 2025-02-09 00:13:00 +08:00
![Vinoth Kannan](/assets/img/avatar_default.png)
It will help to find out the current version of the plugins even without the `docker_manager` plugin.
12 lines
243 B
JavaScript
12 lines
243 B
JavaScript
import Component from "@glimmer/component";
|
|
|
|
export default class PluginCommitHash extends Component {
|
|
get shortCommitHash() {
|
|
return this.commitHash?.slice(0, 7);
|
|
}
|
|
|
|
get commitHash() {
|
|
return this.args.plugin.commit_hash;
|
|
}
|
|
}
|