Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
boazpoolman committed Sep 30, 2024
1 parent 01df1db commit 091cd90
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 231 deletions.
1 change: 0 additions & 1 deletion admin/src/assets/images/logo.svg

This file was deleted.

2 changes: 0 additions & 2 deletions admin/src/components/DuplicateButton/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ const Button = () => (
<button
aria-disabled="false"
type="button"
className="sc-aXZVg sc-gEvEer sc-cwHptR bzWqhm bYXTJs ksKyfS sc-cfxfcM bNDrnU sc-cPrPEB gsfWfo duplicator-button"
tabIndex="0"
aria-labelledby=":r1n:"
style={{ display: 'inline-block', width: '2rem', height: '2rem', padding: '8px' }}
>
<Duplicate width={12} fill="#666687" />
Expand Down
31 changes: 0 additions & 31 deletions admin/src/config/constants.js

This file was deleted.

26 changes: 0 additions & 26 deletions admin/src/containers/App/index.jsx

This file was deleted.

44 changes: 0 additions & 44 deletions admin/src/containers/Main/index.jsx

This file was deleted.

47 changes: 0 additions & 47 deletions admin/src/helpers/configureStore.js

This file was deleted.

5 changes: 0 additions & 5 deletions admin/src/helpers/getTrad.js

This file was deleted.

27 changes: 0 additions & 27 deletions admin/src/helpers/timeFormat.js

This file was deleted.

19 changes: 0 additions & 19 deletions admin/src/helpers/useActiveElement.js

This file was deleted.

20 changes: 0 additions & 20 deletions admin/src/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
// index.js
import { prefixPluginTranslations } from '@strapi/helper-plugin';
import pluginPkg from '../../package.json';
import pluginId from './helpers/pluginId';
import Duplicator from './components/Duplicator';
import pluginPermissions from './permissions';
import DuplicateButton from './components/DuplicateButton';
// import getTrad from './helpers/getTrad';

const pluginDescription = pluginPkg.strapi.description || pluginPkg.description;
const { name } = pluginPkg.strapi;
Expand All @@ -18,29 +14,13 @@ export default {
isReady: true,
isRequired: pluginPkg.strapi.required || false,
name,
injectionZones: {
modal: {
advanced: [],
},
},
});
},
bootstrap(app) {
console.log('Plugin bootstrap called'); // Toegevoegd voor debugging

// Inject CMEditViewExclude
app.injectContentManagerComponent('editView', 'informations', {
name: 'component-duplicator-exclude-filter-edit-view',
Component: DuplicateButton,
});

// Inject Duplicator - tijdelijk uitgeschakeld
/*
app.injectContentManagerComponent('editView', 'informations', {
name: 'component-duplicator',
Component: Duplicator,
});
*/
},
async registerTrads({ locales }) {
const importedTrads = await Promise.all(
Expand Down
9 changes: 0 additions & 9 deletions admin/src/permissions.js

This file was deleted.

0 comments on commit 091cd90

Please sign in to comment.