Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Fix #3898, use a prefixed title
Browse files Browse the repository at this point in the history
We were setting the title properly on the server, but it would be overwritten later as we were sending a different title to be rendered in the browser. This meant that titles lost their 'Screenshots:' prefix
  • Loading branch information
ianb committed Jan 4, 2018
1 parent 7b7e5da commit 318c32e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/pages/shot/model.js
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@ exports.createModel = function(req) {
enableAnnotations
};
let clientPayload = {
title: req.shot.title,
title,
gitRevision: getGitRevision(),
backend: req.backend,
shot: req.shot.asJson(),

0 comments on commit 318c32e

Please sign in to comment.