mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
@@ -5,7 +5,7 @@ export async function copyToClipboard(text) {
|
||||
await navigator.clipboard.writeText(text);
|
||||
} catch(err) {
|
||||
/* Suppress error */
|
||||
Notifier.error('Does not have clipboard acccess');
|
||||
Notifier.error('Does not have clipboard access');
|
||||
}
|
||||
localStorage.setItem('clipboard', text);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user