mirror of
https://github.com/discourse/discourse-user-card-directory.git
synced 2026-10-05 14:43:15 -04:00
* drop jQ * qunit-dom * convert the button to gjs * use the store --------- Co-authored-by: Jarek Radosz <[email protected]>
21 lines
649 B
JavaScript
21 lines
649 B
JavaScript
import { action } from "@ember/object";
|
|
import UserCardContents from "discourse/components/user-card-contents";
|
|
|
|
export default UserCardContents.extend({
|
|
layoutName: "components/user-card-contents",
|
|
elementId: null,
|
|
// Overriding functions which cause the user card to show/hide based on mouse/keyboard events:
|
|
cleanUp() {},
|
|
// eslint-disable-next-line ember/require-super-in-lifecycle-hooks
|
|
didInsertElement() {},
|
|
// eslint-disable-next-line ember/require-super-in-lifecycle-hooks
|
|
willDestroyElement() {},
|
|
keyUp() {},
|
|
|
|
// need to override this to work with the loading slider
|
|
@action
|
|
handleShowUser() {
|
|
return;
|
|
},
|
|
});
|