Skip to content
Snippets Groups Projects
Commit ad9f2dc3 authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Complement the ObjectOverview error page

parent 9eaa858c
No related branches found
No related tags found
1 merge request!1169Resolve "Error page broken in ObjectOverview"
Pipeline #111195 failed
......@@ -50,6 +50,7 @@ Changed
Fixed
~~~~~
* The error page displayed when an ObjectOverview component is not able to get the required data was incomplete.
* The permission check for the dashboard edit page failed when the user had no person assigned.
* In some cases, the IFrame for legacy pages was not properly sized for its content.
* When accessing the person overview page without a person ID, the avatar image was not displayed properly.
......
......@@ -6,6 +6,9 @@
v-else
:short-error-message-key="shortErrorMessageKey"
:long-error-message-key="longErrorMessageKey"
:redirect-button-text-key="redirectButtonTextKey"
:redirect-route-name="redirectRouteName"
:redirect-button-icon="redirectButtonIcon"
/>
</div>
</template>
......@@ -32,6 +35,21 @@ export default {
required: false,
default: "network_errors.page_not_found",
},
redirectButtonTextKey: {
type: String,
required: false,
default: "network_errors.back_to_start",
},
redirectRouteName: {
type: String,
required: false,
default: "dashboard",
},
redirectButtonIcon: {
type: String,
required: false,
default: "mdi-home-outline",
},
},
methods: {
getTitleAttr(obj) {
......
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