Page: Fixed when database could not be reached. Sidebar-Component: Added shadow to icons.
This commit is contained in:
parent
e8ba507e55
commit
285ccc0691
2 changed files with 3 additions and 2 deletions
|
@ -11,6 +11,7 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
color: var(--color-background);
|
color: var(--color-background);
|
||||||
|
filter: drop-shadow(0px 6px 4px rgba(0, 0, 0, 0.15));
|
||||||
}
|
}
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
import { mdiAccount, mdiCogs, mdiEmailOutline, mdiLocationEnter, mdiMapMarker, mdiPhone, mdiStar } from '@mdi/js';
|
import { mdiAccount, mdiCogs, mdiEmailOutline, mdiLocationEnter, mdiMapMarker, mdiPhone, mdiStar } from '@mdi/js';
|
||||||
|
|
||||||
export let data;
|
export let data;
|
||||||
let cv = processData(data);
|
const cv = data.status == 0 ? processData(data) : undefined;
|
||||||
let birth_year = formatDate(cv.info.birth_year);
|
const birth_year = data.status == 0 ? formatDate(cv.info.birth_year) : undefined;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#if data.status == 0}
|
{#if data.status == 0}
|
||||||
|
|
Loading…
Add table
Reference in a new issue