mullema / k3-panel-view-extended

Quick fix for some missing features in the panel
MIT License
27 stars 2 forks source link

bug/feat: after ChangeTemplate from/to a multilanguage- to singlelanguage-blueprint the language-switcher does not appear/disapper #17

Closed dennisbaum closed 2 years ago

dennisbaum commented 2 years ago

K3.6.3 plugin-version: 4.0.0

I have a set of pages, with multilanguage- and singlelanguage-blueprints.

message.yml

options:
  changeTemplate:
    - message
    - message-en

message-en.yml

options:
  singleLanguage: true
  changeTemplate:
    - message
    - message-en

if i enable the option changeTemplate and the editor change from/to single- or multilanguage, the language switcher will not be updated. if i reload the panel-page, it is. is there some kind of changeTemplate hook, where you can update the language-switcher, or at least reload the page?

thx!