fix: refactor newly added code

This commit is contained in:
Alex Grozav 2023-07-18 12:33:10 +03:00
parent b86cc334cd
commit 06c7db34b3
3 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
import type { Tooltip } from 'element-ui';
import type { ElTooltipProps } from 'element-plus';
export type IMenuItem = {
id: string;
@ -7,7 +7,7 @@ export type IMenuItem = {
secondaryIcon?: {
name: string;
size?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
tooltip?: Tooltip;
tooltip?: ElTooltipProps;
};
customIconSize?: 'medium' | 'small';
available?: boolean;

View file

@ -237,8 +237,8 @@ async function commitAndPush() {
<div class="mt-l mb-2xs">
<n8n-checkbox
:indeterminate="selectAllIndeterminate"
:value="selectAll"
@input="onToggleSelectAll"
:modelValue="selectAll"
@update:modelValue="onToggleSelectAll"
>
<n8n-text bold tag="strong">
{{ i18n.baseText('settings.sourceControl.modals.push.workflowsToCommit') }}

View file

@ -327,7 +327,7 @@ const refreshBranches = async () => {
validateOnBlur
:validationRules="branchNameValidationRules"
:options="branchNameOptions"
:value="sourceControlStore.preferences.branchName"
:modelValue="sourceControlStore.preferences.branchName"
@validate="(value) => onValidate('branchName', value)"
@update:modelValue="onSelect"
/>