Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Commit 683d095

Browse files
committed
added: coming soon status option for collections
1 parent ab6dd70 commit 683d095

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

app/Enums/Status.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@ enum Status {
22
IN_PROGRESS = 1,
33
COMPLETE = 2,
44
OUTDATED = 3,
5-
ARCHIVED = 4
5+
ARCHIVED = 4,
6+
COMING_SOON = 5
67
}
78

89
export const StatusDesc = {
910
1: 'In Progress',
1011
2: 'Completed',
1112
3: 'Outdated',
1213
4: 'Archived',
14+
5: 'Coming Soon'
1315
}
1416

15-
export default Status;
17+
export default Status

resources/views/studio/collections/createOrEdit.edge

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
errors: flashMessages.get('errors.statusId'),
114114
readonly: !isOwner
115115
})
116+
<option value="{{ statuses.COMING_SOON }}">Coming Soon</option>
116117
<option value="{{ statuses.IN_PROGRESS }}">In-Progress</option>
117118
<option value="{{ statuses.COMPLETE }}">Completed</option>
118119
<option value="{{ statuses.ARCHIVED }}">Archived</option>

0 commit comments

Comments
 (0)