-
Notifications
You must be signed in to change notification settings - Fork 2
CSCEXAM-984 Add new view to admin view rooms list #793
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
Conversation
|
WIP |
| interface RoomWithAddressVisibility extends ExamRoom { | ||
| addressVisible: boolean; | ||
| availabilityVisible: boolean; | ||
| extendedDWH: DefaultWorkingHoursWithEditing[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Näissä ois hyvä käyttää camel-casea eli extendedDwh
| this.room.updateWorkingHours$(this.room.getWeek(), [examRoom.id]); | ||
| wh.editing = false; | ||
| } | ||
| deleteDWH(wh: DefaultWorkingHoursWithEditing) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mikäs tämä on?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tää oli just se mikä oli tän tiketin kohdalla jäänyt kesken. En osannut vääntää DefaultWorkingHours objektista semmosta että sen olisi voinut näyttää uudessa näkymässä ja takaisin. Tällä funktiolla oli tarkoitus poistaa DefaultWorkingHours jos sinne asti olisin päässyt.
| isArchived = (machine: ExamMachine) => { | ||
| return machine.archived === false; | ||
| }; | ||
| startEditing(wh: DefaultWorkingHoursWithEditing) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Voisi käyttää arrow-funktiota näissä yksirivisissä
d622b82 to
829ddda
Compare
829ddda to
074822e
Compare
56877cb to
da7df9b
Compare
da7df9b to
015c985
Compare
No description provided.