add empty message to actions with no message, fixing broken message generation.

This commit is contained in:
coolbot100s 2025-07-17 17:00:01 -07:00
parent 013ba4d86d
commit 91778fc0c1
2 changed files with 6 additions and 0 deletions

View File

@ -50,6 +50,8 @@ const statusAlerts: Stage = {
project.project_type === 'mod' ||
project.project_type === 'shader' ||
project.project_type.toString() === 'plugin',
weight: -999999,
message: async () => '',
enablesActions: [
{
id: 'status_tec_source_request_options',

View File

@ -25,6 +25,8 @@ const versions: Stage = {
label: 'Incorrect Project Type',
suggestedStatus: 'rejected',
severity: 'medium',
weight: -999999,
message: async () => '',
enablesActions: [
{
id: 'versions_incorrect_project_type_options',
@ -62,6 +64,8 @@ const versions: Stage = {
label: 'Alternate Versions',
suggestedStatus: 'flagged',
severity: 'medium',
weight: -999999,
message: async () => '',
enablesActions: [
{
id: 'versions_incorrect_project_type_options',