Skip to content
This repository was archived by the owner on May 2, 2023. It is now read-only.

Commit a059062

Browse files
committed
FIX #5 custom-dashboard-header
1 parent f52429c commit a059062

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

dist/js/tool.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

readme.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Nova dynamic views
22

3-
This package is ment to be used **INSTEAD** of overwriting the `custom-index-header`, `custom-index-toolbar`, `custom-detail-header`, `custom-detail-toolbar`, etc. by yourself. It provides a much easier api for it and it allows you to use these "place-holder" components multiple times without overwriting each other.
3+
This package is ment to be used **INSTEAD** of overwriting the `custom-index-header`, `custom-index-toolbar`, `custom-detail-header`, `custom-detail-toolbar`, etc. by yourself. It provides a much easier api for it and it allows you to use these "placeholder" components multiple times without overwriting each other.
44

55
![2020-10-14_16-13](https://user-images.githubusercontent.com/642292/96001510-6592a980-0e38-11eb-9aea-54ebbf6126d1.png)
66

@@ -126,11 +126,10 @@ If you wanna show this button only on a specific resource, for example only for
126126

127127
## Available methods and areas
128128

129-
All `custom-*-*` nova placeholders are available as camel case methods postfixed with `Components`:
129+
All `custom-*-*` nova placeholders (except `custom-dashboard-header`) are available as camel case methods postfixed with `Components`:
130130

131131
- `customAttachHeaderComponents`
132132
- `customCreateHeaderComponents`
133-
- `customDashboardHeaderComponents`
134133
- `customDetailhHeaderComponents`
135134
- `customDetailToolbarComponents`
136135
- `customIndexHeaderComponents`

resources/js/tool.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ Nova.booting((Vue) => {
22
const components = [
33
'attach-header',
44
'create-header',
5-
'dashboard-header',
65
'detail-header',
76
'detail-toolbar',
87
'index-header',

0 commit comments

Comments
 (0)