mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 05:50:35 +03:00
Merge pull request #4428 from felixrieseberg/iss4411
Reset slugValue when the user changes
This commit is contained in:
commit
0b35df49e4
@ -1,5 +1,6 @@
|
||||
import SlugGenerator from 'ghost/models/slug-generator';
|
||||
import isNumber from 'ghost/utils/isNumber';
|
||||
import boundOneWay from 'ghost/utils/bound-one-way';
|
||||
|
||||
var SettingsUserController = Ember.ObjectController.extend({
|
||||
|
||||
@ -7,7 +8,7 @@ var SettingsUserController = Ember.ObjectController.extend({
|
||||
|
||||
email: Ember.computed.readOnly('user.email'),
|
||||
|
||||
slugValue: Ember.computed.oneWay('user.slug'),
|
||||
slugValue: boundOneWay('user.slug'),
|
||||
|
||||
lastPromise: null,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user