mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-02 13:52:40 +00:00
QFIX: Github Auth (#7558)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
b2419221fb
commit
8c4c4ad9b3
@ -367,7 +367,7 @@ export const joinedProjectsStore = writable<Project[]>()
|
|||||||
function fillStores (): void {
|
function fillStores (): void {
|
||||||
const client = getClient()
|
const client = getClient()
|
||||||
|
|
||||||
if (client !== undefined) {
|
if (client !== undefined && getCurrentAccount() != null) {
|
||||||
const query = createQuery(true)
|
const query = createQuery(true)
|
||||||
query.query(task.class.ProjectType, {}, (res) => {
|
query.query(task.class.ProjectType, {}, (res) => {
|
||||||
typeStore.set(toIdMap(res))
|
typeStore.set(toIdMap(res))
|
||||||
|
Loading…
Reference in New Issue
Block a user