For now only edit JSON
Plain text editing is not implemented yet.
This commit is contained in:
parent
4d8e25eaf7
commit
2abd47712d
|
@ -14,7 +14,8 @@ export default Controller.extend({
|
|||
|
||||
queryParams: ['path'],
|
||||
|
||||
documentIsEditable: computed.not('model.documentMetaData.isBinary'),
|
||||
// documentIsEditable: computed.not('model.documentMetaData.isBinary'),
|
||||
documentIsEditable: alias('documentIsJSON'),
|
||||
|
||||
documentShowEditor: false,
|
||||
documentHideEditor: computed.not('documentShowEditor'),
|
||||
|
|
Loading…
Reference in New Issue