discourse/app/assets/javascripts/admin/addon/components/plugin-commit-hash.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
243 B
JavaScript
Raw Normal View History

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;
}
}