Skip to content

Commit

Permalink
Fix subject, class and teacher title
Browse files Browse the repository at this point in the history
  • Loading branch information
Polderdijk,Jort J committed Jan 27, 2017
1 parent bef4f77 commit 1408e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/lesson.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function () {
data.setInfo = function (title, kind) {
tableInfo = {
// We only want a small part of the title.
title: title ? title.replace(/Persoonlijk\srooster |Schedule /, '') : '',
title: title ? title.replace(/Persoonlijk\srooster |Schedule| *\([^)]*\)*/, '') : '',
kind,
};

Expand Down

0 comments on commit 1408e1c

Please sign in to comment.