mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat: Update e2e tests to run on new canvas (no-changelog) (#12784)
This commit is contained in:
@@ -1431,7 +1431,7 @@ defineExpose({ enterEditMode });
|
||||
</template>
|
||||
<N8nIconButton
|
||||
:icon="linkedRuns ? 'unlink' : 'link'"
|
||||
class="linkRun"
|
||||
:class="['linkRun', linkedRuns ? 'linked' : '']"
|
||||
text
|
||||
type="tertiary"
|
||||
size="small"
|
||||
|
||||
@@ -102,8 +102,8 @@ export const useKeybindings = (
|
||||
function toShortcutString(event: KeyboardEvent) {
|
||||
const { shiftKey, altKey } = event;
|
||||
const ctrlKey = isCtrlKeyPressed(event);
|
||||
const keys = [event.key];
|
||||
const codes = [keyboardEventCodeToKey(event.code)];
|
||||
const keys = 'key' in event ? [event.key] : [];
|
||||
const codes = 'code' in event ? [keyboardEventCodeToKey(event.code)] : [];
|
||||
const modifiers: string[] = [];
|
||||
|
||||
if (shiftKey) {
|
||||
|
||||
@@ -35,7 +35,7 @@ export const useUsageStore = defineStore('usage', () => {
|
||||
const rootStore = useRootStore();
|
||||
const settingsStore = useSettingsStore();
|
||||
|
||||
const state = reactive<UsageState>(DEFAULT_STATE);
|
||||
const state = reactive<UsageState>({ ...DEFAULT_STATE });
|
||||
|
||||
const planName = computed(() => state.data.license.planName || DEFAULT_PLAN_NAME);
|
||||
const planId = computed(() => state.data.license.planId);
|
||||
|
||||
@@ -349,7 +349,9 @@ async function initializeRoute(force = false) {
|
||||
if (!isAlreadyInitialized) {
|
||||
historyStore.reset();
|
||||
|
||||
await loadCredentials();
|
||||
if (!isDemoRoute.value) {
|
||||
await loadCredentials();
|
||||
}
|
||||
|
||||
// If there is no workflow id, treat it as a new workflow
|
||||
if (isNewWorkflowRoute.value || !workflowId.value) {
|
||||
|
||||
Reference in New Issue
Block a user