discourse/app/assets/javascripts/admin/addon/components/modal/merge-users-prompt.js

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

14 lines
319 B
JavaScript
Raw Normal View History

import Component from "@glimmer/component";
import { tracked } from "@glimmer/tracking";
export default class MergeUsersPrompt extends Component {
@tracked targetUsername;
get mergeDisabled() {
return (
!this.targetUsername ||
this.args.model.user.username === this.targetUsername[0]
);
}
}