vue-meta icon indicating copy to clipboard operation
vue-meta copied to clipboard

refresh doesn't respect child's innerhtml=null

Open yakovyarmo opened this issue 2 years ago • 0 comments

I'm using nuxt 2

I've noticed that when calling the meta refresh on the client side, it doesn't respect innerhtml=null in the child component. After further investigation I found that the problem lays in the following line:

https://github.com/nuxt/vue-meta/blob/5a70744aeabb1c79e16d13206ee6d163edbb4c5e/src/shared/merge.js#L51

It happens since you are removing it from the source and then in the next refresh it doesn't exists anymore. My solution for now was to override the splice method so it won't do anything.

yakovyarmo avatar Jan 23 '23 13:01 yakovyarmo