For now only edit JSON

Plain text editing is not implemented yet.
This commit is contained in:
Basti 2018-04-02 00:19:12 +02:00
parent 4d8e25eaf7
commit 2abd47712d
1 changed files with 2 additions and 1 deletions

View File

@ -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'),