Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

fix(template): Template creation fixed (closes #705) #710

Merged
merged 8 commits into from
Dec 11, 2017

Conversation

ksendart
Copy link
Contributor

#705 create from snapshot, create group through template creation

@ksendart ksendart requested a review from dariashka November 30, 2017 01:01
# Conflicts:
#	src/app/reducers/templates/redux/template.effects.ts
#	src/app/template/template-creation/containers/template-creation.container.ts
@ksendart ksendart requested a review from zolotyx December 4, 2017 05:14
@@ -15,9 +16,16 @@ import {
entityModel: Template
})
export class TemplateService extends BaseTemplateService {
public create(params: {}): Observable<Template> {
public create(params: any): Observable<Template> {
Copy link
Contributor

Choose a reason for hiding this comment

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

please remove any, add type

Copy link
Contributor

@zolotyx zolotyx left a comment

Choose a reason for hiding this comment

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

Please add unit tests for TemplateCreationComponent and TemplateService

params['isrouting'] = this.isRouting;
params['isfeatured'] = this.isFeatured;
params['ispublic'] = this.isPublic;
}
}

this.onCreateTemplate.emit(params);
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add typing to the event emitter

@zolotyx zolotyx changed the title feat(create-template): create template, create from snapshot fix(template): Template creation fixed (closes #705) Dec 9, 2017
@ksendart ksendart merged commit ad481f2 into master Dec 11, 2017
@ksendart ksendart deleted the 705-template-from-snap branch December 11, 2017 00:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants