mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 19:01:52 +08:00
FIX: Move default options that were in the bufferedRender function. This will fix shortcut navigation for discourse-assign (#7497)
This commit is contained in:
parent
c7a0baebc5
commit
0a66065774
|
@ -31,6 +31,9 @@ export function navigateToTopic(topic, href) {
|
||||||
|
|
||||||
export const ListItemDefaults = {
|
export const ListItemDefaults = {
|
||||||
tagName: "tr",
|
tagName: "tr",
|
||||||
|
classNameBindings: [":topic-list-item", "unboundClassNames", "topic.visited"],
|
||||||
|
attributeBindings: ["data-topic-id"],
|
||||||
|
"data-topic-id": Ember.computed.alias("topic.id"),
|
||||||
|
|
||||||
@computed
|
@computed
|
||||||
newDotText() {
|
newDotText() {
|
||||||
|
@ -175,13 +178,6 @@ export default Ember.Component.extend(
|
||||||
ListItemDefaults,
|
ListItemDefaults,
|
||||||
bufferedRender({
|
bufferedRender({
|
||||||
rerenderTriggers: ["bulkSelectEnabled", "topic.pinned"],
|
rerenderTriggers: ["bulkSelectEnabled", "topic.pinned"],
|
||||||
classNameBindings: [
|
|
||||||
":topic-list-item",
|
|
||||||
"unboundClassNames",
|
|
||||||
"topic.visited"
|
|
||||||
],
|
|
||||||
attributeBindings: ["data-topic-id"],
|
|
||||||
"data-topic-id": Ember.computed.alias("topic.id"),
|
|
||||||
|
|
||||||
actions: {
|
actions: {
|
||||||
toggleBookmark() {
|
toggleBookmark() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user