From 16c145da90b5677f37592e5dc876e3f8c10ca320 Mon Sep 17 00:00:00 2001 From: chestozo Date: Fri, 6 Feb 2015 02:07:34 +0300 Subject: [PATCH] fixes #515 --- src/ns.view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ns.view.js b/src/ns.view.js index ebda894b..05a5141b 100644 --- a/src/ns.view.js +++ b/src/ns.view.js @@ -776,7 +776,7 @@ // loading - ns-view-async-content // error - ns-view-error-content // placeholder - специальная отрисовка - state: this.asyncState ? 'loading': 'ok', + state: (!this.asyncState || this.isModelsValid()) ? 'ok' : 'loading', // фейковое дерево, чтобы удобно матчится в yate tree: {},