mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
css class same name as prop
This commit is contained in:
parent
bec7720c42
commit
ad92356b40
@ -4,7 +4,7 @@ export default class GapView extends TemplateView {
|
||||
render(t, vm) {
|
||||
const className = {
|
||||
gap: true,
|
||||
loading: vm => vm.isLoading
|
||||
isLoading: vm => vm.isLoading
|
||||
};
|
||||
const label = (vm.isUp ? "🠝" : "🠟") + " fill gap"; //no binding
|
||||
return t.li({className}, [
|
||||
|
Loading…
Reference in New Issue
Block a user