Skip to content

Commit e00abdf

Browse files
committed
home page is now under powerUser
1 parent 3605224 commit e00abdf

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/home/homePane.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import { DataBrowserContext, PaneDefinition } from 'pane-registry'
1212
import { NamedNode } from 'rdflib'
1313
import { authn } from 'solid-logic'
14-
import { create, icons, login } from 'solid-ui'
14+
import { create, icons, login, ns } from 'solid-ui'
1515
import type { CreateContext } from 'solid-ui'
1616

1717
const HomePaneSource: PaneDefinition = {
@@ -29,6 +29,8 @@ const HomePaneSource: PaneDefinition = {
2929
return 'home'
3030
},
3131

32+
audience: [ns.solid('PowerUser')],
33+
3234
render: function (subject, context: DataBrowserContext) {
3335
const dom = context.dom
3436
const showContent = async function () {

src/mainPage/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ export async function initMainPage (
3434
const outliner = getOutliner(document, environment)
3535
uri = uri || window.location.href
3636
const subject: NamedNode = typeof uri === 'string' ? store.sym(uri) : uri
37-
console.log('-----initMainPage GotoSubject ', subject)
3837
outliner.GotoSubject(subject, true, undefined, true, undefined)
3938

4039
const header = await createHeader(store, outliner)

0 commit comments

Comments
 (0)