\r\n {(this.state.showAddCategory === false && this.state.showEditCategory === false && !this.state.showDeleteCategory) &&\r\n
\r\n
0}\r\n isEditEnable={this.state.selectedCategories.length > 0 && this.state.selectedCategories.length < 2}\r\n onAddButtonClick={this.handleAddButtonClick}\r\n onDeleteButtonClick={this.handleDeleteButtonClick}\r\n onEditButtonClick={this.handleEditButtonClick}\r\n handleTableFilter={this.handleSearch}\r\n isAddEnabled={!(this.state.categories.length >= 10)}\r\n />\r\n \r\n {this.state.categories.length !== 0 &&\r\n \r\n }\r\n
\r\n {this.state.categories.length === 0 &&\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n }\r\n {this.state.showAddCategory &&
\r\n
= 10)}\r\n categories={this.state.categories}\r\n onBackButtonClick={this.onBackButtonClick}\r\n teamId={this.teamId!}\r\n onSuccess={this.onSuccess}\r\n />\r\n }\r\n {this.state.showEditCategory &&
\r\n \r\n
}\r\n {(this.state.showAddCategory === false && this.state.showEditCategory === false && !this.state.showDeleteCategory) &&\r\n
\r\n \r\n {this.state.message !== undefined &&\r\n \r\n \r\n \r\n }\r\n {this.state.categories.length > 0 && \r\n \r\n }\r\n \r\n
}\r\n {this.state.showDeleteCategory &&
\r\n \r\n
}\r\n
\r\n );\r\n }\r\n }\r\n}\r\n\r\nexport default withTranslation()(ManageCategory);\r\n","//