이제 깨졌습니다.
Categories + Latest 뷰(우리의 경우 기본값)에서 주제 카드를 클릭할 수 있도록 이 컴포넌트에 의존하고 있었습니다. 오늘 최신 3.1.0beta8(현재 3.2.0.beta1-dev로 표시됨)로 업데이트한 후, 컴포넌트가 올바르게 작동하지 않게 되었습니다.
이제 커서의 활성 상태는 클릭 가능하게 유지되지만, 주제 영역은 클릭할 수 없습니다. 브라우저 콘솔을 열면 개발자가 문제를 식별하는 데 도움이 될 수 있는 오류가 표시됩니다.
Uncaught TypeError: this.router is undefined
function navigateToTopic(topic, href) {
if (this.siteSettings.page_loading_indicator !== "slider") {
// With the slider, it feels nicer for the header to update once the rest of the topic content loads,
// so skip setting it early.
this.appEvents.trigger("header:update-topic", topic);
}
this.session.set("lastTopicIdViewed", {
topicId: topic.id,
historyUuid: this.router.location.getState?.().uuid
});
_url.default.routeTo(href || topic.get("url"));
return false;
}
다음 줄에서 발생한 오류입니다:
historyUuid: this.router.location.getState?.().uuid
코어에서 계획 중이거나 진행 중인 Ember 업그레이드와 관련이 있을까요?
