FIX: Move default options that were in the bufferedRender function. This will fix shortcut navigation for discourse-assign (#7497)

This commit is contained in:
Roman Rizzi 2019-05-07 12:25:10 -03:00 committed by GitHub
parent c7a0baebc5
commit 0a66065774
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 7 deletions

View File

@ -31,6 +31,9 @@ export function navigateToTopic(topic, href) {
export const ListItemDefaults = {
tagName: "tr",
classNameBindings: [":topic-list-item", "unboundClassNames", "topic.visited"],
attributeBindings: ["data-topic-id"],
"data-topic-id": Ember.computed.alias("topic.id"),
@computed
newDotText() {
@ -175,13 +178,6 @@ export default Ember.Component.extend(
ListItemDefaults,
bufferedRender({
rerenderTriggers: ["bulkSelectEnabled", "topic.pinned"],
classNameBindings: [
":topic-list-item",
"unboundClassNames",
"topic.visited"
],
attributeBindings: ["data-topic-id"],
"data-topic-id": Ember.computed.alias("topic.id"),
actions: {
toggleBookmark() {