Add the tool name back in to the event title
This commit is contained in:
parent
cbb04c7334
commit
bdf9b1637f
@ -91,7 +91,7 @@ export default class App extends Vue {
|
|||||||
const match = eventData?.title?.match(/([^\/]*) \| ([^-]*) - (.*)/);
|
const match = eventData?.title?.match(/([^\/]*) \| ([^-]*) - (.*)/);
|
||||||
if (match) {
|
if (match) {
|
||||||
const [, member, shop, tool] = match;
|
const [, member, shop, tool] = match;
|
||||||
eventData.title = member;
|
eventData.title = `${tool} - ${member}`;
|
||||||
if (this.toolFilter === null || tool.includes(this.toolFilter)) {
|
if (this.toolFilter === null || tool.includes(this.toolFilter)) {
|
||||||
return eventData;
|
return eventData;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user