Stable에서 헤더 버튼 API가 작동하지 않음

Given this code GitHub - communiteq/addheaderbutton-quicktest · GitHub

  api.headerButtons.add("test-header-button", TestComponent, {
    before: "auth",
  });

Renders incorrectly on 3.5.1 stable 39084ff

image

image

Renders correctly on 3.6.0-beta2 as of this morning 10921212

image

image

I seem to be unable to find the commit that causes this.

EDIT it was broken on 3.5.0 already, it was still working on 3.4.7.

3개의 좋아요

Thanks @RGJ. This PR will backport the fix we made on latest to stable:

https://github.com/discourse/discourse/pull/35116

2개의 좋아요

This topic was automatically closed after 15 hours. New replies are no longer allowed.