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
requiredPermission: 'admin.core_workflow'
header: 'Core Workflow'
header: 'Core Workflows'
constructor: ->
super
@ -54,4 +54,4 @@ class CoreWorkflow extends App.ControllerSubContent
}
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'
RSpec.describe 'System > Core Workflow', type: :system do
RSpec.describe 'System > Core Workflows', type: :system do
before do
ensure_websocket do
visit 'system/core_workflow'