mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-10-29 19:13:32 +00:00
xo: Enable @typescript-eslint/member-ordering.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
963c2e5388
commit
39c6fa4ace
@@ -2,6 +2,12 @@ import Tab, { TabProps } from './tab';
|
||||
|
||||
export default class FunctionalTab extends Tab {
|
||||
$closeButton: Element;
|
||||
|
||||
constructor(props: TabProps) {
|
||||
super(props);
|
||||
this.init();
|
||||
}
|
||||
|
||||
template(): string {
|
||||
return `<div class="tab functional-tab" data-tab-id="${this.props.tabIndex}">
|
||||
<div class="server-tab-badge close-button">
|
||||
@@ -13,11 +19,6 @@ export default class FunctionalTab extends Tab {
|
||||
</div>`;
|
||||
}
|
||||
|
||||
constructor(props: TabProps) {
|
||||
super(props);
|
||||
this.init();
|
||||
}
|
||||
|
||||
init(): void {
|
||||
this.$el = this.generateNodeFromTemplate(this.template());
|
||||
if (this.props.name !== 'Settings') {
|
||||
|
||||
Reference in New Issue
Block a user