scripts/apps/desks/directives/DeskConfigModal.ts
Function DeskConfigModal
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function DeskConfigModal(metadata, content, templates, api) {
return {
scope: {
modalActive: '=active',
desk: '=',
Function link
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function(scope, elem, attrs, ctrl) {
const views = {};
views[''] = {label: gettext('None')};
views['list'] = {label: gettext('List View'), icon: 'list-view'};