Maintenance: Pluralize admin navigation entry name for Core Workflows.

This commit is contained in:
Thorsten Eckel 2021-09-28 15:28:57 +02:00
parent b17f1be9a0
commit b85e402807
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
class CoreWorkflow extends App.ControllerSubContent class CoreWorkflow extends App.ControllerSubContent
requiredPermission: 'admin.core_workflow' requiredPermission: 'admin.core_workflow'
header: 'Core Workflow' header: 'Core Workflows'
constructor: -> constructor: ->
super super
@ -54,4 +54,4 @@ class CoreWorkflow extends App.ControllerSubContent
} }
return mapping[screen] || screen return mapping[screen] || screen
App.Config.set('CoreWorkflowObject', { prio: 1750, parent: '#system', name: 'Core Workflow', target: '#system/core_workflow', controller: CoreWorkflow, permission: ['admin.core_workflow'] }, 'NavBarAdmin') App.Config.set('CoreWorkflowObject', { prio: 1750, parent: '#system', name: 'Core Workflows', target: '#system/core_workflow', controller: CoreWorkflow, permission: ['admin.core_workflow'] }, 'NavBarAdmin')

View file

@ -2,7 +2,7 @@
require 'rails_helper' require 'rails_helper'
RSpec.describe 'System > Core Workflow', type: :system do RSpec.describe 'System > Core Workflows', type: :system do
before do before do
ensure_websocket do ensure_websocket do
visit 'system/core_workflow' visit 'system/core_workflow'