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;
|
||||
margin-bottom: 0.5rem;
|
||||
color: var(--color-background);
|
||||
filter: drop-shadow(0px 6px 4px rgba(0, 0, 0, 0.15));
|
||||
}
|
||||
|
||||
.text {
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
import { mdiAccount, mdiCogs, mdiEmailOutline, mdiLocationEnter, mdiMapMarker, mdiPhone, mdiStar } from '@mdi/js';
|
||||
|
||||
export let data;
|
||||
let cv = processData(data);
|
||||
let birth_year = formatDate(cv.info.birth_year);
|
||||
const cv = data.status == 0 ? processData(data) : undefined;
|
||||
const birth_year = data.status == 0 ? formatDate(cv.info.birth_year) : undefined;
|
||||
</script>
|
||||
|
||||
{#if data.status == 0}
|
||||
|
|
Loading…
Add table
Reference in a new issue