This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/admin/controllers/admin_dashboard_controller.js

17 lines
430 B
JavaScript

/**
This controller supports the default interface when you enter the admin section.
@class AdminDashboardController
@extends Ember.Controller
@namespace Discourse
@module Discourse
**/
Discourse.AdminDashboardController = Ember.Controller.extend({
loading: true,
versionCheck: null,
foundProblems: function() {
return(this.get('problems') && this.get('problems').length > 0);
}.property('problems')
});