Fix CommonJS import, add z-index for sticky subheader, change text in 'logout' tooltip
This commit is contained in:
parent
88b91e9a37
commit
df42a5f243
@ -17,7 +17,6 @@
|
||||
"build": {
|
||||
"builder": "@angular-devkit/build-angular:browser",
|
||||
"options": {
|
||||
"allowedCommonJsDependencies": ["papaparse"],
|
||||
"outputPath": "dist/nkadf",
|
||||
"index": "src/index.html",
|
||||
"main": "src/main.ts",
|
||||
|
@ -14,8 +14,8 @@
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
background-color: white;
|
||||
z-index: 2000;
|
||||
box-shadow: 0px 10px 17px -15px rgba(0, 0, 0, 0.88);
|
||||
z-index: 10;
|
||||
button {
|
||||
margin: 1rem 0rem 1rem 1rem;
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ import {
|
||||
NbLayoutScrollService,
|
||||
NbScrollPosition,
|
||||
} from '@nebular/theme';
|
||||
import * as Papa from 'papaparse';
|
||||
import { parse } from 'papaparse';
|
||||
|
||||
@Component({
|
||||
selector: 'app-discussion-viewer',
|
||||
@ -102,7 +102,7 @@ export class DiscussionViewerComponent implements OnInit, OnDestroy {
|
||||
|
||||
parseFile(file: File): Promise<{ id: number; name: string }[]> {
|
||||
return new Promise((resolve, _) => {
|
||||
Papa.parse(file, {
|
||||
parse(file, {
|
||||
header: true,
|
||||
skipEmptyLines: true,
|
||||
complete: (result) => {
|
||||
|
@ -10,7 +10,10 @@
|
||||
<nb-action>nkadf</nb-action>
|
||||
</nb-actions>
|
||||
<nb-actions>
|
||||
<nb-action icon="power" (click)="logout()" nbTooltip="Wyloguj"
|
||||
<nb-action
|
||||
icon="power"
|
||||
(click)="logout()"
|
||||
nbTooltip="Wróć do strony początkowej"
|
||||
>Wyloguj</nb-action
|
||||
>
|
||||
</nb-actions>
|
||||
|
Loading…
Reference in New Issue
Block a user