Sistemato menu laterale... getters, state....

This commit is contained in:
paolo
2018-11-26 00:53:05 +01:00
parent 48c8c742b0
commit 45be1e02c5
8 changed files with 22 additions and 53 deletions

View File

@@ -33,6 +33,7 @@ const b = storeBuilder.module<IUserState>('UserModule', state)
const stateGetter = b.state()
namespace Getters {
const lang = b.read(function lang(state): string {
if (state.lang !== '') {
return state.lang