import fix in buildLinkField
This commit is contained in:
Vendored
+2
-2
@@ -1,5 +1,5 @@
|
||||
import { rowLabel } from 'src/modules/admin-ui/rowLabel.js';
|
||||
const URL_PATTERN = /^(https?:\/\/|mailto:|tel:|#)/;
|
||||
import { rowLabel } from '../admin-ui/rowLabel.js';
|
||||
const URL_PATTERN = /^(?:https?:\/\/|mailto:|tel:|#)/;
|
||||
/**
|
||||
* The ONE link shape for a project: a page, an external URL (also mailto:,
|
||||
* tel:, #anchor) or an uploaded file — plus label, new-tab flag and visual
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user