mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-22 12:19:09 +00:00
👕 Fix lint issue
This commit is contained in:
@@ -31,7 +31,7 @@ export default Vue.extend({
|
|||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
let size = parseInt(this.size, 10);
|
const size = parseInt(this.size, 10);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
width: size + 'px',
|
width: size + 'px',
|
||||||
@@ -39,7 +39,7 @@ export default Vue.extend({
|
|||||||
'font-size': Math.floor(parseInt(this.size, 10) * 0.6) + 'px',
|
'font-size': Math.floor(parseInt(this.size, 10) * 0.6) + 'px',
|
||||||
'line-height': size + 'px',
|
'line-height': size + 'px',
|
||||||
'border-radius': Math.ceil(size / 2) + 'px',
|
'border-radius': Math.ceil(size / 2) + 'px',
|
||||||
}
|
};
|
||||||
},
|
},
|
||||||
nodeIconData (): null | NodeIconData {
|
nodeIconData (): null | NodeIconData {
|
||||||
if (this.nodeType === null) {
|
if (this.nodeType === null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user