web: Jens requested that subscription be by default, and it's the right call.
This commit is contained in:
parent
d2a9b2a343
commit
297c29b231
|
@ -10,7 +10,7 @@ type Constructor<T = object> = new (...args: any[]) => T;
|
|||
|
||||
export function WithAuthentikConfig<T extends Constructor<LitElement>>(
|
||||
superclass: T,
|
||||
subscribe = false,
|
||||
subscribe = true,
|
||||
) {
|
||||
class WithAkConfigProvider extends superclass {
|
||||
@consume({ context: authentikConfigContext, subscribe })
|
||||
|
|
|
@ -47,7 +47,7 @@ class WCC {
|
|||
|
||||
export function WithCapabilitiesConfig<T extends Constructor<LitElement>>(
|
||||
superclass: T,
|
||||
subscribe = false,
|
||||
subscribe = true,
|
||||
) {
|
||||
abstract class CapabilitiesContext extends superclass {
|
||||
@consume({ context: authentikConfigContext, subscribe })
|
||||
|
|
Reference in New Issue