Add the tool name back in to the event title

This commit is contained in:
Adam Goldsmith 2021-05-08 15:50:09 -04:00
parent cbb04c7334
commit bdf9b1637f

View File

@ -91,7 +91,7 @@ export default class App extends Vue {
const match = eventData?.title?.match(/([^\/]*) \| ([^-]*) - (.*)/);
if (match) {
const [, member, shop, tool] = match;
eventData.title = member;
eventData.title = `${tool} - ${member}`;
if (this.toolFilter === null || tool.includes(this.toolFilter)) {
return eventData;
}