Merge pull request #29 from ig3/setup-isOwner
@ig3 Thank you for the fix.
This commit is contained in:
@ -206,6 +206,7 @@ setup = (user) ->
|
|||||||
.then (response) ->
|
.then (response) ->
|
||||||
if response.ok
|
if response.ok
|
||||||
response.json().then (json) ->
|
response.json().then (json) ->
|
||||||
|
window.isOwner = json.isOwner
|
||||||
settings = json
|
settings = json
|
||||||
if settings.wikiHost
|
if settings.wikiHost
|
||||||
dialogHost = settings.wikiHost
|
dialogHost = settings.wikiHost
|
||||||
|
Reference in New Issue
Block a user