Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switcher #5

Merged
merged 8 commits into from
Oct 22, 2020
Merged

Switcher #5

merged 8 commits into from
Oct 22, 2020

Conversation

Shelenium
Copy link
Collaborator

No description provided.

@Shelenium
Copy link
Collaborator Author

Screen Shot 2020-10-20 at 23 19 49

@@ -20,3 +20,11 @@ export class Remove implements WsActionModel<string> {
constructor(public data: string) {
}
}

export class SkipKey implements WsActionModel<{ key: string, skip: boolean }> {
static readonly type = '[Requests] Remove';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

static readonly type = '[Requests] SkipKey';

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Shelenium
Copy link
Collaborator Author

Screen Shot 2020-10-22 at 00 30 21

}
this.cache.get(key).skip = skip;
this.skipKeys[key] = skip;
this.write();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this.write(); have to be outside the 'forEach'

}
}

export class CheckedKey implements WsActionModel<{ key: string, checked: boolean }> {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not used

.extra-header {
font-size: large;
font-weight: 200;
background-color: #ffdd71;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

background-color: mat-theme-color(...);

@diprokon diprokon merged commit b284357 into master Oct 22, 2020
@diprokon diprokon deleted the switcher branch October 22, 2020 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants