mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
fix: refactor newly added code
This commit is contained in:
parent
b86cc334cd
commit
06c7db34b3
|
@ -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;
|
||||
|
|
|
@ -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') }}
|
||||
|
|
|
@ -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"
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue