For now only edit JSON
Plain text editing is not implemented yet.
This commit is contained in:
1 parent
4d8e25eaf7
commit
2abd47712d
1 file changed
+2
-1
@@ -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'),
|
||||
|
||||
Reference in new issue
Block a user