mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 07:25:48 +01:00
🗑️ Remove deprecated code (#1225)
This commit is contained in:
@@ -71,7 +71,7 @@ export const EditAppModal = ({
|
||||
behaviour: {
|
||||
externalUrl: (url: string) => {
|
||||
if (url === undefined || url.length < 1) {
|
||||
return null;
|
||||
return 'External URI is required';
|
||||
}
|
||||
|
||||
if (!url.match(appUrlWithAnyProtocolRegex)) {
|
||||
|
||||
@@ -101,7 +101,7 @@ export const AvailableElementTypes = ({
|
||||
},
|
||||
behaviour: {
|
||||
isOpeningNewTab: true,
|
||||
externalUrl: '',
|
||||
externalUrl: 'https://homarr.dev',
|
||||
},
|
||||
|
||||
area: {
|
||||
|
||||
Reference in New Issue
Block a user