|
@@ -112,7 +112,7 @@ export default {
|
|
|
getClassroomTitleCaption(title) {
|
|
getClassroomTitleCaption(title) {
|
|
|
const match = title.match(/^(.*?)\s*\((.*?)\)$/)
|
|
const match = title.match(/^(.*?)\s*\((.*?)\)$/)
|
|
|
if (match) {
|
|
if (match) {
|
|
|
- const insideParenthesis = match[2]
|
|
|
|
|
|
|
+ const insideParenthesis = match[2].split('-')[0].trim()
|
|
|
return `${insideParenthesis}`
|
|
return `${insideParenthesis}`
|
|
|
} else {
|
|
} else {
|
|
|
return ''
|
|
return ''
|