mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
90873: issue 1380 - Fix to make default bundle config work without yml changes
This commit is contained in:

committed by
Alexandre Vryghem

parent
beae47ef19
commit
d51af2739e
@@ -14,6 +14,7 @@ import { ServerConfig } from './server-config.interface';
|
||||
import { SubmissionConfig } from './submission-config.interface';
|
||||
import { ThemeConfig } from './theme.model';
|
||||
import { UIServerConfig } from './ui-server-config.interface';
|
||||
import { BundleConfig } from './bundle-config.interface';
|
||||
|
||||
export class DefaultAppConfig implements AppConfig {
|
||||
production = false;
|
||||
@@ -301,11 +302,9 @@ export class DefaultAppConfig implements AppConfig {
|
||||
];
|
||||
// The default bundles that should always be displayed when you edit or add a bundle even when no bundle has been
|
||||
// added to the item yet.
|
||||
standardBundles: [
|
||||
{ bundle: 'ORIGINAL' },
|
||||
{ bundle: 'THUMBNAIL' },
|
||||
{ bundle: 'LICENSE' }
|
||||
];
|
||||
bundle: BundleConfig = {
|
||||
standardBundles: ['ORIGINAL', 'THUMBNAIL', 'LICENSE']
|
||||
};
|
||||
// Whether to enable media viewer for image and/or video Bitstreams (i.e. Bitstreams whose MIME type starts with "image" or "video").
|
||||
// For images, this enables a gallery viewer where you can zoom or page through images.
|
||||
// For videos, this enables embedded video streaming
|
||||
|
Reference in New Issue
Block a user