Commit e7758442 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Hide the spinning loader when no comments on item.

parent f365094f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -77,6 +77,11 @@ Ext.define('Docs.view.comments.List', {
     * @param {Object[]} comments
     */
    load: function(comments) {
        // hide the spinning loader when no comments.
        if (comments.length === 0) {
            this.emptyText = "";
        }

        this.store.loadData(comments);
    },