2023-07-13 18:47:03 -04:00
|
|
|
import { action } from "@ember/object";
|
2024-03-28 06:12:48 -04:00
|
|
|
import UserCardContents from "discourse/components/user-card-contents";
|
2020-02-28 10:01:48 -05:00
|
|
|
|
|
|
|
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() {},
|
2024-03-28 06:12:48 -04:00
|
|
|
// eslint-disable-next-line ember/require-super-in-lifecycle-hooks
|
2020-02-28 10:01:48 -05:00
|
|
|
didInsertElement() {},
|
2024-03-28 06:12:48 -04:00
|
|
|
// eslint-disable-next-line ember/require-super-in-lifecycle-hooks
|
2020-02-28 10:01:48 -05:00
|
|
|
willDestroyElement() {},
|
2022-06-18 10:52:34 -04:00
|
|
|
keyUp() {},
|
2023-07-13 18:47:03 -04:00
|
|
|
|
|
|
|
// need to override this to work with the loading slider
|
|
|
|
@action
|
|
|
|
handleShowUser() {
|
|
|
|
return;
|
|
|
|
},
|
2020-02-28 10:01:48 -05:00
|
|
|
});
|