Skip to content

Commit 04cd69e

Browse files
aotf: replace "reload" with validateReinstall
* The `reload` mutation isn't the most helpful command post `cylc install`. * Swap it out in the workflow command shortlist for the [newly added](cylc/cylc-uiserver#746) `validateReinstall` mutation which has wider scope.
1 parent 3e2ac32 commit 04cd69e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/aotf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,12 @@ export function getMutationIcon (name) {
142142
case 'play': return mdiPlay
143143
case 'poll': return mdiRefreshCircle
144144
case 'release': return mdiPlayCircleOutline // to distinguish from play
145-
case 'reload': return mdiReload
146145
case 'remove': return mdiMinusCircleOutline
147146
case 'resume': return mdiPlay
148147
case 'set': return mdiVectorPolylineEdit
149148
case 'stop': return mdiStop
150149
case 'trigger': return mdiCursorPointer
150+
case 'validateReinstall': return mdiReload
151151
default: return mdiCog
152152
}
153153
}
@@ -179,7 +179,7 @@ export const primaryMutations = {
179179
'resume',
180180
'pause',
181181
'stop',
182-
'reload',
182+
'validateReinstall',
183183
'clean',
184184
'log'
185185
],

0 commit comments

Comments
 (0)