mirror of https://github.com/zulip/zulip.git
message_list_view: Cleanup unused bookend code.
`bookend_top` is already defined firmly for `group` in `add_subscription_marker`, so no need to redefine it. `bookend_bottom` is no longer used anywhere in the codebase. Not sure what the history is here.
This commit is contained in:
parent
93a03dcf3a
commit
8f2e973ab2
|
@ -466,7 +466,6 @@ export class MessageListView {
|
|||
this.list !== message_lists.home &&
|
||||
last_msg_container.msg.historical !== first_msg_container.msg.historical
|
||||
) {
|
||||
second_group.bookend_top = true;
|
||||
this.add_subscription_marker(second_group, last_msg_container, first_msg_container);
|
||||
}
|
||||
return false;
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
{{#each message_groups}}
|
||||
{{#with this}}
|
||||
|
||||
{{#if show_group_date_divider}}
|
||||
<div class="date_row no-select">{{{group_date_divider_html}}}</div>
|
||||
{{/if}}
|
||||
|
@ -19,10 +18,5 @@
|
|||
{{/with}}
|
||||
{{/each}}
|
||||
</div>
|
||||
|
||||
{{#if bookend_bottom}}
|
||||
{{> bookend}}
|
||||
{{/if}}
|
||||
|
||||
{{/with}}
|
||||
{{/each}}
|
||||
|
|
Loading…
Reference in New Issue