Skip to content

Commit 091cd90

Browse files
committed
chore: cleanup
1 parent 01df1db commit 091cd90

File tree

11 files changed

+0
-231
lines changed

11 files changed

+0
-231
lines changed

admin/src/assets/images/logo.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

admin/src/components/DuplicateButton/index.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ const Button = () => (
88
<button
99
aria-disabled="false"
1010
type="button"
11-
className="sc-aXZVg sc-gEvEer sc-cwHptR bzWqhm bYXTJs ksKyfS sc-cfxfcM bNDrnU sc-cPrPEB gsfWfo duplicator-button"
1211
tabIndex="0"
13-
aria-labelledby=":r1n:"
1412
style={{ display: 'inline-block', width: '2rem', height: '2rem', padding: '8px' }}
1513
>
1614
<Duplicate width={12} fill="#666687" />

admin/src/config/constants.js

Lines changed: 0 additions & 31 deletions
This file was deleted.

admin/src/containers/App/index.jsx

Lines changed: 0 additions & 26 deletions
This file was deleted.

admin/src/containers/Main/index.jsx

Lines changed: 0 additions & 44 deletions
This file was deleted.

admin/src/helpers/configureStore.js

Lines changed: 0 additions & 47 deletions
This file was deleted.

admin/src/helpers/getTrad.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

admin/src/helpers/timeFormat.js

Lines changed: 0 additions & 27 deletions
This file was deleted.

admin/src/helpers/useActiveElement.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

admin/src/index.js

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
// index.js
21
import { prefixPluginTranslations } from '@strapi/helper-plugin';
32
import pluginPkg from '../../package.json';
43
import pluginId from './helpers/pluginId';
5-
import Duplicator from './components/Duplicator';
6-
import pluginPermissions from './permissions';
74
import DuplicateButton from './components/DuplicateButton';
8-
// import getTrad from './helpers/getTrad';
95

106
const pluginDescription = pluginPkg.strapi.description || pluginPkg.description;
117
const { name } = pluginPkg.strapi;
@@ -18,29 +14,13 @@ export default {
1814
isReady: true,
1915
isRequired: pluginPkg.strapi.required || false,
2016
name,
21-
injectionZones: {
22-
modal: {
23-
advanced: [],
24-
},
25-
},
2617
});
2718
},
2819
bootstrap(app) {
29-
console.log('Plugin bootstrap called'); // Toegevoegd voor debugging
30-
31-
// Inject CMEditViewExclude
3220
app.injectContentManagerComponent('editView', 'informations', {
3321
name: 'component-duplicator-exclude-filter-edit-view',
3422
Component: DuplicateButton,
3523
});
36-
37-
// Inject Duplicator - tijdelijk uitgeschakeld
38-
/*
39-
app.injectContentManagerComponent('editView', 'informations', {
40-
name: 'component-duplicator',
41-
Component: Duplicator,
42-
});
43-
*/
4424
},
4525
async registerTrads({ locales }) {
4626
const importedTrads = await Promise.all(

0 commit comments

Comments
 (0)