mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix eslint warnigs for core project (#7506)
This commit is contained in:
@@ -149,18 +149,18 @@ export class ThumbnailService {
|
||||
'application/vnd.visio': './assets/images/ft_ic_document.svg',
|
||||
'application/wordperfect': './assets/images/ft_ic_document.svg',
|
||||
'application/x-cpio': './assets/images/ft_ic_document.svg',
|
||||
'folder': './assets/images/ft_ic_folder.svg',
|
||||
'smartFolder': './assets/images/ft_ic_smart_folder.svg',
|
||||
'ruleFolder': './assets/images/ft_ic_folder_rule.svg',
|
||||
'linkFolder': './assets/images/ft_ic_folder_shortcut_link.svg',
|
||||
folder: './assets/images/ft_ic_folder.svg',
|
||||
smartFolder: './assets/images/ft_ic_smart_folder.svg',
|
||||
ruleFolder: './assets/images/ft_ic_folder_rule.svg',
|
||||
linkFolder: './assets/images/ft_ic_folder_shortcut_link.svg',
|
||||
'disable/folder': './assets/images/ft_ic_folder_disable.svg',
|
||||
'selected': './assets/images/ft_ic_selected.svg',
|
||||
selected: './assets/images/ft_ic_selected.svg',
|
||||
'dynamic-feed': './assets/images/dynamic_feed-24px.svg',
|
||||
'ic-process': './assets/images/ic-process.svg',
|
||||
'filter': './assets/images/ft_ic_filter.svg',
|
||||
filter: './assets/images/ft_ic_filter.svg',
|
||||
'save-as': './assets/images/save-as.svg',
|
||||
'save': './assets/images/save.svg',
|
||||
'task': './assets/images/task.svg'
|
||||
save: './assets/images/save.svg',
|
||||
task: './assets/images/task.svg'
|
||||
};
|
||||
|
||||
_contentApi: ContentApi;
|
||||
@@ -180,6 +180,7 @@ export class ThumbnailService {
|
||||
|
||||
/**
|
||||
* Gets a thumbnail URL for the given document node.
|
||||
*
|
||||
* @param node Node or Node ID to get URL for.
|
||||
* @param attachment Toggles whether to retrieve content as an attachment for download
|
||||
* @param ticket Custom ticket to use for authentication
|
||||
@@ -205,6 +206,7 @@ export class ThumbnailService {
|
||||
|
||||
/**
|
||||
* Gets a thumbnail URL for a MIME type.
|
||||
*
|
||||
* @param mimeType MIME type for the thumbnail
|
||||
* @returns URL string
|
||||
*/
|
||||
@@ -215,6 +217,7 @@ export class ThumbnailService {
|
||||
|
||||
/**
|
||||
* Gets a "miscellaneous" thumbnail URL for types with no other icon defined.
|
||||
*
|
||||
* @returns URL string
|
||||
*/
|
||||
public getDefaultMimeTypeIcon(): string {
|
||||
|
Reference in New Issue
Block a user