mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Cosmetic changes.
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
@module Discourse
|
||||
**/
|
||||
|
||||
var RESERVED_BADGE_COUNT = 100;
|
||||
|
||||
Discourse.AdminBadgeController = Discourse.ObjectController.extend({
|
||||
/**
|
||||
Whether this badge has been selected.
|
||||
@@ -31,5 +33,5 @@ Discourse.AdminBadgeController = Discourse.ObjectController.extend({
|
||||
@property readOnly
|
||||
@type {Boolean}
|
||||
**/
|
||||
readOnly: Ember.computed.lt('model.id', 100)
|
||||
readOnly: Ember.computed.lt('model.id', RESERVED_BADGE_COUNT)
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user