mirror of
https://github.com/frappe/books.git
synced 2024-11-08 14:50:56 +00:00
fix(ui): remove search border-l when Settings
This commit is contained in:
parent
a666253816
commit
3717b7d23b
@ -2,7 +2,7 @@
|
||||
<div class="flex bg-gray-25">
|
||||
<div class="flex flex-1 flex-col">
|
||||
<!-- Page Header (Title, Buttons, etc) -->
|
||||
<PageHeader :title="title" :border="false">
|
||||
<PageHeader :title="title" :border="false" :searchborder="searchborder">
|
||||
<slot name="header" />
|
||||
</PageHeader>
|
||||
|
||||
@ -34,6 +34,7 @@ export default {
|
||||
components: { PageHeader },
|
||||
props: {
|
||||
title: { type: String, default: '' },
|
||||
searchborder: { type: Boolean, default: true },
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
@ -32,11 +32,12 @@ export default {
|
||||
backLink: { type: Boolean, default: true },
|
||||
hideSearch: { type: Boolean, default: false },
|
||||
border: { type: Boolean, default: true },
|
||||
searchborder: { type: Boolean, default: true },
|
||||
},
|
||||
components: { SearchBar, BackLink },
|
||||
computed: {
|
||||
showBorder() {
|
||||
return !!this.$slots.default;
|
||||
return !!this.$slots.default && this.searchborder;
|
||||
},
|
||||
},
|
||||
};
|
||||
|
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<FormContainer :title="t`Settings`">
|
||||
<FormContainer :title="t`Settings`" :searchborder="false">
|
||||
<template #body>
|
||||
<!-- Icon Tab Bar -->
|
||||
<div class="flex justify-around mb-2 mt-4">
|
||||
|
Loading…
Reference in New Issue
Block a user