Skip to content

Commit

Permalink
Merge pull request #62 from OnroerendErfgoed/feature/61_add_edit_mode…
Browse files Browse the repository at this point in the history
…_to_ITab

#61 add edit mode
  • Loading branch information
yannickkuypers authored Jul 31, 2023
2 parents fbfb52e + 45cad4a commit e561970
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"date-fns": "^2.30.0",
"libphonenumber-js": "^1.10.37",
"lodash": "^4.17.21",
"pyoes": "https://gitpkg.now.sh/OnroerendErfgoed/pyoes/npm-packages/pyoes",
"pyoes": "https://gitpkg.now.sh/OnroerendErfgoed/pyoes/npm-packages/pyoes?0.17.0",
"vue": "^3.3.4",
"vue-i18n": "9"
},
Expand Down
6 changes: 3 additions & 3 deletions src/__tests__/OeContainer.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ describe('Container', () => {
components: { OeContainer },
setup: () => {
const tabs = ref([
{ label: 'Menu', id: 'menu', closable: false },
{ label: 'Tab 1', id: '1', closable: true },
{ label: 'Tab 2', id: '2', closable: true },
{ label: 'Menu', id: 'menu', closable: false, editMode: false },
{ label: 'Tab 1', id: '1', closable: true, editMode: false },
{ label: 'Tab 2', id: '2', closable: true, editMode: false },
]);
const activeTab = ref<ITab>(tabs.value[0]);

Expand Down
1 change: 1 addition & 0 deletions src/models/container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ export interface IContainerProps {
export interface ITab {
label: string;
id: string;
editMode: boolean;
closable?: boolean;
}
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8647,9 +8647,9 @@ puppeteer-core@^2.1.1:
rimraf "^2.6.1"
ws "^6.1.0"

"pyoes@https://gitpkg.now.sh/OnroerendErfgoed/pyoes/npm-packages/pyoes":
version "0.16.1"
resolved "https://gitpkg.now.sh/OnroerendErfgoed/pyoes/npm-packages/pyoes#0f1cbae0dfb882e87a087e9751ad3d224bc3f00a"
"pyoes@https://gitpkg.now.sh/OnroerendErfgoed/pyoes/npm-packages/pyoes?0.17.0":
version "0.17.0"
resolved "https://gitpkg.now.sh/OnroerendErfgoed/pyoes/npm-packages/pyoes?0.17.0#2b36ccc2cce08b132e61ebff1828ad357e9d58a4"
dependencies:
font-awesome "^4.7.0"
foundation-sites "^5.5.3"
Expand Down

0 comments on commit e561970

Please sign in to comment.