mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
[ADF-1843] rename 'extension-viewer' to 'add-viewer-extension' (#2568)
* rename 'extension-viewer' to 'adf-viewer-extension' also add support for json preview * docs updates
This commit is contained in:
committed by
Eugenio Romano
parent
30fb980afd
commit
e5fe39fdc1
@@ -121,7 +121,7 @@ export class ViewerComponent implements OnDestroy, OnChanges {
|
||||
private extensions = {
|
||||
image: ['png', 'jpg', 'jpeg', 'gif', 'bpm'],
|
||||
media: ['wav', 'mp4', 'mp3', 'webm', 'ogg'],
|
||||
text: ['txt', 'xml', 'js', 'html'],
|
||||
text: ['txt', 'xml', 'js', 'html', 'json'],
|
||||
pdf: ['pdf']
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user