Skip to content

Commit

Permalink
initial clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
hmoreras committed Mar 4, 2025
1 parent a61445b commit 0a30a24
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions core-web/libs/dotcms-models/src/lib/shared-models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,14 @@
* SAVING = Status of an action of the component loaded (delete, saving, editing)
* |-> IDLE = Finished delete, saving, editing
* ERROR = Error state for the component
* LOCKED = component is locked
**/
export enum ComponentStatus {
INIT = 'INIT',
LOADING = 'LOADING',
LOADED = 'LOADED',
SAVING = 'SAVING',
IDLE = 'IDLE',
ERROR = 'ERROR',
LOCKED = 'LOCKED'
ERROR = 'ERROR'
}

export const enum FeaturedFlags {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ describe('DotEditContentStore', () => {
expect(store.contentlet).toBeDefined();
expect(store.information).toBeDefined();
expect(store.locales).toBeDefined();
expect(store.canLock).toBeDefined();
expect(store.systemDefaultLocale).toBeDefined();
expect(store.currentLocale).toBeDefined();
expect(store.currentIdentifier).toBeDefined();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,6 @@ export function withContent() {
const initialContentletState =
!scheme || !step ? 'reset' : 'existing';

//console.log('contentType', contentType);

patchState(store, {
contentType,
currentSchemeId,
Expand Down

0 comments on commit 0a30a24

Please sign in to comment.