mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Enable context menu for read-only fields & adds copy/paste options (#10992)
* allow viewing of raw value for read only fields * add copy value to form-field-menu * change raw value dialog title when disabled * fix notify typing * add paste option & notification for copy/paste
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { useNotificationsStore } from '@/stores/';
|
||||
import { NotificationRaw } from '@/types';
|
||||
import { SnackbarRaw } from '@/types';
|
||||
|
||||
let store: any;
|
||||
|
||||
export function notify(notification: NotificationRaw): void {
|
||||
export function notify(notification: SnackbarRaw): void {
|
||||
if (!store) store = useNotificationsStore();
|
||||
store.add(notification);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user