mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-13 16:58:36 +01:00
implementing snapshots
This commit is contained in:
@@ -9,7 +9,7 @@ onUnmounted(() => stopWatching());
|
||||
const { createAlert } = useAlert();
|
||||
|
||||
function copyProjectId() {
|
||||
if (!navigator.clipboard) alert('NON PUOI COPIARE IN HTTP');
|
||||
if (!navigator.clipboard) alert('You can\'t copy in HTTP');
|
||||
navigator.clipboard.writeText((activeProject.value?._id || 0).toString());
|
||||
createAlert('Success', 'Project id copied successfully.', 'far fa-circle-check', 5000);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user