Skip to content

Commit 4e5de5a

Browse files
committed
refactor(Download): Updated text warning if project to download is not newer than current project
1 parent 075522b commit 4e5de5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modules/project/load/DownloadProjectPage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ const DownloadProjectPage = ({openMainMenuPanel}) => {
4040
};
4141

4242
const getTextOverride = () => {
43-
if (project.id === projectToDownload.id && project.modified_timestamp > projectToDownload.modified_timestamp) {
44-
return 'The current project is newer than the project on the server. Are you sure you want to'
43+
if (project.id === projectToDownload.id && project.modified_timestamp >= projectToDownload.modified_timestamp) {
44+
return 'The select project to download is NOT NEWER than the current project. Are you sure you want to'
4545
+ ' overwrite the current project?';
4646
}
4747
else return undefined;

0 commit comments

Comments
 (0)