Fix click behavior for all/diffs package links in upgrade view
This commit is contained in:
parent
76a19ebe5b
commit
4cadeb8e5d
|
@ -256,7 +256,7 @@ class UpgradeView(MasterView):
|
||||||
|
|
||||||
kwargs = {}
|
kwargs = {}
|
||||||
if use_buefy:
|
if use_buefy:
|
||||||
kwargs['@click'] = "showingPackages = 'all'"
|
kwargs['@click.prevent'] = "showingPackages = 'all'"
|
||||||
kwargs[':style'] = "{'font-weight': showingPackages == 'all' ? 'bold' : null}"
|
kwargs[':style'] = "{'font-weight': showingPackages == 'all' ? 'bold' : null}"
|
||||||
else:
|
else:
|
||||||
kwargs['class_'] = 'all'
|
kwargs['class_'] = 'all'
|
||||||
|
@ -264,7 +264,7 @@ class UpgradeView(MasterView):
|
||||||
|
|
||||||
kwargs = {}
|
kwargs = {}
|
||||||
if use_buefy:
|
if use_buefy:
|
||||||
kwargs['@click'] = "showingPackages = 'diffs'"
|
kwargs['@click.prevent'] = "showingPackages = 'diffs'"
|
||||||
kwargs[':style'] = "{'font-weight': showingPackages == 'diffs' ? 'bold' : null}"
|
kwargs[':style'] = "{'font-weight': showingPackages == 'diffs' ? 'bold' : null}"
|
||||||
else:
|
else:
|
||||||
kwargs['class_'] = 'diffs'
|
kwargs['class_'] = 'diffs'
|
||||||
|
|
Loading…
Reference in a new issue