added survey dialog. closes #1307
This commit is contained in:
parent
ce4157ac08
commit
20b9279eec
14 changed files with 113 additions and 32 deletions
|
@ -19,6 +19,10 @@ module.exports = async function(req) {
|
|||
// continue without accounts
|
||||
}
|
||||
}
|
||||
const prefs = {};
|
||||
if (config.survey_url) {
|
||||
prefs.surveyUrl = config.survey_url;
|
||||
}
|
||||
return {
|
||||
archive: {
|
||||
numFiles: 0
|
||||
|
@ -39,6 +43,7 @@ module.exports = async function(req) {
|
|||
user: { avatar: assets.get('user.svg'), loggedIn: false },
|
||||
robots,
|
||||
authConfig,
|
||||
prefs,
|
||||
layout
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue