Skip to content

Commit

Permalink
Merge pull request #1185 from nextcloud/fix/regressions
Browse files Browse the repository at this point in the history
fix: Apply class to wizard page title (was a typo) and correctly navigate to page whats-new page
  • Loading branch information
szaimen authored Apr 23, 2024
2 parents 54f2261 + 6e49aba commit cfb94ba
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions js/firstrunwizard-about.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const __vite__fileDeps=[OC.filePath('firstrunwizard', '', 'js/main-TLYkAnT0.mjs'),OC.filePath('firstrunwizard', '', 'css/firstrunwizard-main.css')],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
const __vite__fileDeps=[OC.filePath('firstrunwizard', '', 'js/main-CezsHINt.mjs'),OC.filePath('firstrunwizard', '', 'css/firstrunwizard-main.css')],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as i}from"./modulepreload-polyfill-DDskOgo1.mjs";document.addEventListener("DOMContentLoaded",function(){const o=document.querySelector("#firstrunwizard_about button"),t=()=>{document.querySelector("#firstrunwizard_about button").addEventListener("click",async function(e){var n;e.stopPropagation(),e.preventDefault();const r=(n=document.querySelector('[aria-controls="header-menu-user-menu"]'))!=null?n:void 0,{open:u}=await i(()=>import("./main-TLYkAnT0.mjs"),__vite__mapDeps([0,1]),import.meta.url);u(r),OC.hideMenus(()=>!1)})};o?t():window._nc_event_bus.subscribe("core:user-menu:mounted",t)});
import{_ as i}from"./modulepreload-polyfill-DDskOgo1.mjs";document.addEventListener("DOMContentLoaded",function(){const o=document.querySelector("#firstrunwizard_about button"),t=()=>{document.querySelector("#firstrunwizard_about button").addEventListener("click",async function(e){var n;e.stopPropagation(),e.preventDefault();const r=(n=document.querySelector('[aria-controls="header-menu-user-menu"]'))!=null?n:void 0,{open:u}=await i(()=>import("./main-CezsHINt.mjs"),__vite__mapDeps([0,1]),import.meta.url);u(r),OC.hideMenus(()=>!1)})};o?t():window._nc_event_bus.subscribe("core:user-menu:mounted",t)});
4 changes: 2 additions & 2 deletions js/firstrunwizard-activate.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const __vite__fileDeps=[OC.filePath('firstrunwizard', '', 'js/main-TLYkAnT0.mjs'),OC.filePath('firstrunwizard', '', 'css/firstrunwizard-main.css')],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
const __vite__fileDeps=[OC.filePath('firstrunwizard', '', 'js/main-CezsHINt.mjs'),OC.filePath('firstrunwizard', '', 'css/firstrunwizard-main.css')],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as t}from"./modulepreload-polyfill-DDskOgo1.mjs";document.addEventListener("DOMContentLoaded",async function(){(await t(()=>import("./main-TLYkAnT0.mjs"),__vite__mapDeps([0,1]),import.meta.url)).open()});
import{_ as t}from"./modulepreload-polyfill-DDskOgo1.mjs";document.addEventListener("DOMContentLoaded",async function(){(await t(()=>import("./main-CezsHINt.mjs"),__vite__mapDeps([0,1]),import.meta.url)).open()});
2 changes: 1 addition & 1 deletion js/main-TLYkAnT0.mjs → js/main-CezsHINt.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/main-TLYkAnT0.mjs.map → js/main-CezsHINt.mjs.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/components/WizardPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<template>
<div :class="$style.wrapper">
<div :class="[$style.scroller, scrollerClasses]">
<h2 :class="$style.heaing">
<h2 :class="$style.heading">
{{ title }}
</h2>
<p v-if="subtitle" :class="$style.subtitle">
Expand Down
2 changes: 1 addition & 1 deletion src/pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default [
id: 'key-aspects',
component: KeyNotesPage,
buttons: [{
to: 'whats-new',
to: 'hub-release',
label: t('firstrunwizard', 'What\'s new?'),
}, {
to: 'devices',
Expand Down

0 comments on commit cfb94ba

Please sign in to comment.