mirror of
https://github.com/bitwarden/browser
synced 2026-01-06 10:33:57 +00:00
context menu options for cipher listing
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
import { remote, shell } from 'electron';
|
||||
import {
|
||||
clipboard,
|
||||
remote,
|
||||
shell,
|
||||
} from 'electron';
|
||||
|
||||
import { isDev } from '../scripts/utils';
|
||||
|
||||
@@ -149,4 +153,9 @@ export class DesktopPlatformUtilsService implements PlatformUtilsService {
|
||||
isDev(): boolean {
|
||||
return isDev();
|
||||
}
|
||||
|
||||
copyToClipboard(text: string, options?: any): void {
|
||||
const type = options ? options.type : null;
|
||||
clipboard.writeText(text, type);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user