diff options
Diffstat (limited to 'app/views/projects/labels/destroy.js.haml')
-rw-r--r-- | app/views/projects/labels/destroy.js.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/labels/destroy.js.haml b/app/views/projects/labels/destroy.js.haml index d59563b122a..8d09e2bda11 100644 --- a/app/views/projects/labels/destroy.js.haml +++ b/app/views/projects/labels/destroy.js.haml @@ -1,2 +1,2 @@ -- if @project.labels.size == 0 +- if @labels.empty? $('.labels').load(document.URL + ' .nothing-here-block').hide().fadeIn(1000) |