Commit bb4fe7e0 authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

affichage panneau de détail dans recherche. #32

parent 6b5eef19
Loading
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -70,7 +70,13 @@ export default {
        // eslint-disable-next-line no-empty
        catch(e){}
      }
    }
    },

    // collections(){
    //   const target = document.querySelector('#tree-item-' + this.currentCollection.id)
    //       .parentElement.parentElement;
    //   target.click();
    // }
  },
  methods: {
    async collectionClicked(c){
+3 −2
Original line number Diff line number Diff line
@@ -46,10 +46,11 @@ export default {
  computed: {

    active() {
      return this.resource == this.currentResource
      return this.resource.id == this.currentResource.id
    },
    
    inactive() {
      return this.currentResource && this.resource !== this.currentResource
      return this.currentResource && this.resource.id !== this.currentResource.id
    },
    label() {
      return this.resource.title.length > this.titleLimit
+1 −1
Original line number Diff line number Diff line
@@ -359,7 +359,7 @@ export default {
      return this.viewMode === FULLSCREEN
    },
    sidePaneVisible() {
      return !this.hiddenRightPanel && this.currentCollection && this.currentCollection.parent
      return (!this.hiddenRightPanel && this.currentCollection && this.currentCollection.parent) || this.currentResource
    },

    pluginComponent() {