1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 08:27:42 +02:00

fix(qa): increase YIQ and fix menu item title

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
Sami Mazouz
2023-03-08 18:25:04 +01:00
parent 3f864bafc8
commit 28e3ccfde6
2 changed files with 2 additions and 2 deletions

View File

@@ -39,6 +39,6 @@ export default class LinkButton extends Button {
* @return {boolean}
*/
static isActive(attrs) {
return typeof attrs.active !== 'undefined' ? attrs.active : m.route.get() === attrs.href;
return typeof attrs.active !== 'undefined' ? attrs.active : m.route.get()?.split('?')[0] === attrs.href?.split('?')[0];
}
}