Skip to content

Commit 31a90a4

Browse files
committed
MAGETWO-89168: Develop UI component
1 parent f25d0b8 commit 31a90a4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

app/code/Magento/Ui/Model/UrlInput/LinksProvider.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ public function __construct(
4444
public function getConfig()
4545
{
4646
$config = [];
47-
foreach ($this->linksConfiguration as $linkName => $className)
48-
{
47+
foreach ($this->linksConfiguration as $linkName => $className) {
4948
$config[$linkName] = $this->createConfigProvider($className)->getConfig();
5049
}
5150
return $config;

app/code/Magento/Ui/view/base/web/js/lib/validation/rules.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ define([
969969
return new RegExp(param).test(value);
970970
},
971971
$.mage.__('This link is not allowed.')
972-
],
972+
]
973973
}, function (data) {
974974
return {
975975
handler: data[0],

0 commit comments

Comments
 (0)