Skip to content
Snippets Groups Projects
Commit 35e7270d authored by Lehtinen Teemu's avatar Lehtinen Teemu
Browse files

Handle unexisting problem names

parent 9586d383
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,9 @@ Package.register = function (handlers, app, conf) {
Package.initialize = function (req, params, handlers, cb) {
let config = content[params.name];
if (config) {
config.resetButton = true;
}
cb(config);
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment