Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOROKA-123: Добавлены даты-интервалы, даты-строки, корректная работа с DateCatalog, багфиксы #35

Merged
merged 4 commits into from
Sep 22, 2022

Conversation

RomanKuzovlev
Copy link
Contributor

No description provided.

@RomanKuzovlev RomanKuzovlev changed the title Добавлены даты-интервалы, даты-строки, корректная работа с DateCatalog, багфиксы SOROKA-123: Добавлены даты-интервалы, даты-строки, корректная работа с DateCatalog, багфиксы Sep 22, 2022
const dateEnd = el.endJD || el.startJD
const filledPropertyId = instance.id

if (method === "update") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не думаешь что здесь можно без дополнительного параметра в методе? Мы же можем запрос на удаление отправлять и в случае создания, не думаю что это большой оверхед, но сам метод будет точно чище

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Согласен. Исправил.

@dice4x4 dice4x4 merged commit 9d4b85a into master Sep 22, 2022
@dice4x4 dice4x4 deleted the SOROKA-123 branch September 22, 2022 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants