Implement navigation and view management in DataViewer, adding Dashboard and TableManagement components. Update export data handling based on current view. Create new components for managing Kreditor, Konto, and BU tables with CRUD functionality. Refactor admin routes to remove admin access checks and streamline data handling for various entities.

This commit is contained in:
sebseb7
2025-08-01 10:22:43 +02:00
parent 092fa0f8bd
commit 5470bebfc4
9 changed files with 1382 additions and 114 deletions

31
.eslintrc.js Normal file
View File

@@ -0,0 +1,31 @@
module.exports = {
env: {
browser: true,
es2021: true,
node: true,
},
extends: [
'eslint:recommended',
],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
},
rules: {
// Prevent browser alert dialogs
'no-alert': 'error',
'no-confirm': 'error',
'no-prompt': 'error',
// Additional helpful rules
'no-console': 'warn',
'no-debugger': 'error',
},
globals: {
// Allow React globals
React: 'readonly',
},
};