Skip to content

Commit

Permalink
fix HistoryPanel multi item drop text
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedhamidawan committed Mar 4, 2024
1 parent af09219 commit eff893b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/components/History/CurrentHistory/HistoryPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -361,10 +361,10 @@ async function onDrop(evt: any) {
}
if (multiple && datasetCount > 0) {
Toast.info(`${datasetCount} datasets copied to history`);
Toast.info(`${datasetCount} dataset${datasetCount > 1 ? "s" : ""} copied to new history`);
}
if (multiple && collectionCount > 0) {
Toast.info(`${collectionCount} collections copied to history`);
Toast.info(`${collectionCount} collection${collectionCount > 1 ? "s" : ""} copied to new history`);
}
historyStore.loadHistoryById(props.history.id);
} catch (error) {
Expand Down

0 comments on commit eff893b

Please sign in to comment.