fix(plugins/base): job availability status (#1081)
This commit is contained in:
@@ -139,10 +139,6 @@ export default async function({login, q}, {conf, data, rest, graphql, plugins, q
|
||||
console.debug(`metrics/compute/${login} > applying dflag --cakeday`)
|
||||
computed.cakeday = true
|
||||
}
|
||||
if (dflags.includes("--hireable")) {
|
||||
console.debug(`metrics/compute/${login} > applying dflag --hireable`)
|
||||
data.user.isHireable = true
|
||||
}
|
||||
if (dflags.includes("--halloween")) {
|
||||
console.debug(`metrics/compute/${login} > applying dflag --halloween`)
|
||||
//Haloween color replacer
|
||||
|
||||
@@ -467,7 +467,6 @@ inputs:
|
||||
description: |
|
||||
Debug flags
|
||||
- `--cakeday`: simulate registration anniversary
|
||||
- `--hireable`: simulate "Available for hire" account setting
|
||||
- `--halloween`: enable halloween colors
|
||||
- `--error`: force render error
|
||||
type: array
|
||||
@@ -475,7 +474,6 @@ inputs:
|
||||
default: ""
|
||||
values:
|
||||
- --cakeday
|
||||
- --hireable
|
||||
- --halloween
|
||||
- --error
|
||||
testing: yes
|
||||
|
||||
Reference in New Issue
Block a user