Add Docker build and deploy pipeline
Some checks failed
deploy-frontend / deploy (push) Failing after 11s
Some checks failed
deploy-frontend / deploy (push) Failing after 11s
This commit is contained in:
7
src/config/postConstants.js
Normal file
7
src/config/postConstants.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Статусы объявления — зеркало бэкенда (enum PostStatus).
|
||||
//
|
||||
// Раньше строка 'CLOSED' была захардкожена в четырёх местах (карточка,
|
||||
// просмотрщик, хуки, админ-панель), и любая опечатка проходила тихо:
|
||||
// карточка просто не показывала статус. Держим значение в одном месте.
|
||||
export const POST_STATUS_ACTIVE = "ACTIVE";
|
||||
export const POST_STATUS_CLOSED = "CLOSED";
|
||||
Reference in New Issue
Block a user