Skip to content

teacher_st#32

Merged
jakubkoje merged 17 commits into
developfrom
teachers-style
Mar 31, 2020
Merged

teacher_st#32
jakubkoje merged 17 commits into
developfrom
teachers-style

Conversation

@MarkMucska

Copy link
Copy Markdown
Member

No description provided.

@github-actions

Copy link
Copy Markdown

This pull request has been made to the wrong branch. Please review the contributing guidelines as all PRs need to be made to the develop branch.

We'll fix it for you this time, but please ensure you make any future PRs to the develop branch, not the master branch.

@github-actions
github-actions Bot changed the base branch from master to develop March 23, 2020 20:22
@jakubkoje

Copy link
Copy Markdown
Member

@Wormyy , vedel by si nam pls spravit code review? Vdaka

@jakubkoje
jakubkoje requested review from jakubkoje and julius-retzer and removed request for jakubkoje March 28, 2020 22:01
Comment thread themes/vuetober/src/components/Search.vue Outdated
Comment thread themes/vuetober/src/components/Search.vue Outdated
Comment thread themes/vuetober/src/components/Search.vue Outdated
addTeachers(state, teachers) {
state.teachers = teachers;
},
selectTeacher(state, teacher) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Mozno o cosi lepsi sposob ako trackovat ktory teacher je selected by bol, ze vzdy ked selectnes nejakeho teachera tak spravis nieco ako

selectTeacher(state, selectedTeacherId) {
  state.teachers = state.teachers.map(teacher => {
    if (teacher.id === selectedTeacherId) {
		return {...teacher, isSelected: true};
	}
	return {...teacher, isSelected: false};
   })
}

@julius-retzer julius-retzer left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nechal som par komentov, ale inac to vyzera dobre, good job

@jakubkoje

Copy link
Copy Markdown
Member

Nechal som par komentov, ale inac to vyzera dobre, good job

Napadlo ma to vyriesit este takto, co na to hovoris?

@julius-retzer

Copy link
Copy Markdown

moze byt 👍

@jakubkoje
jakubkoje merged commit 2464760 into develop Mar 31, 2020
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.

3 participants