Skip to content
Snippets Groups Projects
Commit 2a25bb8c authored by schneider210's avatar schneider210
Browse files

Merge branch 'feature/goldenlayout-freeze' into HEAD

parents 449e8224 9d74186b
Branches master
No related tags found
1 merge request!39Feature/goldenlayout freeze
Pipeline #127975 passed
This diff is collapsed.
<template>
<div :class="css.metadata">
<div :class="[css.metadata, css.fixed ]">
<ul>
<li v-if="Object.keys(collection).length" :class="css.item">
<div :class="[ css['heading-style'], css.heading ]">
......
......@@ -23,7 +23,7 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path :d="assets.undo" transform="translate(56 59)"></path>
</svg>
<span aria-hidden="true">Reset Tabs</span>
<span aria-hidden="true">{{ 'Reset Tabs' | capitalize }}</span>
</button>
</li>
</ul>
......@@ -43,6 +43,11 @@ export default {
panels: ['text', 'image', 'metadata', 'treeview'],
};
},
filters: {
capitalize(s) {
return s.toUpperCase();
},
},
methods: {
resetPanelStatus() {
for (let index = 0; index < this.panels.length; index += 1) {
......
......@@ -81,6 +81,7 @@ export const cssmap = {
'nav-arrow--left': 'goldenlayout__nav-arrow--left',
'nav-arrow--right': 'goldenlayout__nav-arrow--right',
description: 'objectlist-1__descr',
fixed: 'objectlist-1--fixed',
heading: 'objectlist-1__heading',
item: 'objectlist-1__item',
label: 'objectlist-1__label',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment