Remove unnecessary notistacks and dead terminal enable/disable code

- Remove 'Artikel angelegt.' snackbar from NewArticleTile
- Remove 'Kategorie angelegt.' snackbar from NewCategoryTile
- Remove dead handleEnableAllCategories method and binding from CompanySettingsDialog
This commit is contained in:
seb
2026-08-03 08:06:28 +02:00
parent 404a7f4fce
commit 30ccda010f
3 changed files with 0 additions and 20 deletions

View File

@@ -1,6 +1,5 @@
import { Component } from 'react';
import { connect } from 'react-redux';
import { enqueueSnackbar } from 'notistack';
import { ActionTile } from '../tiles';
import { createArticle as createArticleThunk } from '../../store/categorySlice';
import ArticleNameDialog from './ArticleNameDialog';
@@ -25,7 +24,6 @@ class NewArticleTile extends Component {
async handleSubmit({ name }) {
const { parentId } = this.props;
const article = await this.props.createArticle({ parentId, name }).unwrap();
enqueueSnackbar('Artikel angelegt.', { variant: 'success' });
if (article) {
this.props.onOpenArticle?.(article);
}