File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ function getTag (tags, tag) {
17
17
* @param {Object } newInfo - the meta info to update to
18
18
*/
19
19
export default function updateClientMetaInfo ( appId , options = { } , newInfo ) {
20
- const { ssrAttribute } = options
20
+ const { ssrAttribute, ssrAppId } = options
21
21
22
22
// only cache tags for current update
23
23
const tags = { }
24
24
25
25
const htmlTag = getTag ( tags , 'html' )
26
26
27
27
// if this is a server render, then dont update
28
- if ( appId === 'ssr' && htmlTag . hasAttribute ( ssrAttribute ) ) {
28
+ if ( appId === ssrAppId && htmlTag . hasAttribute ( ssrAttribute ) ) {
29
29
// remove the server render attribute so we can update on (next) changes
30
30
htmlTag . removeAttribute ( ssrAttribute )
31
31
return false
You can’t perform that action at this time.
0 commit comments