fix styling for notes and cleanup

This commit is contained in:
Johannes Millan 2017-01-28 14:23:18 +01:00
parent 2525e8432f
commit 52f3da74c6
3 changed files with 2 additions and 8 deletions

View file

@ -1,4 +1,4 @@
.notes {
.notes-dialog {
.markdown-wrapper {
div,
textarea {

View file

@ -1,5 +1,5 @@
<md-dialog aria-label="Notes"
class="notes fullscreen-dialog">
class="notes-dialog fullscreen-dialog">
<md-toolbar>
<div class="md-toolbar-tools">
<h2>Notes for project</h2>

View file

@ -35,12 +35,6 @@
if (!vm.timeSpentOnDayCopy[vm.todayStr]) {
vm.timeSpentOnDayCopy[vm.todayStr] = undefined;
}
//else if (vm.timeSpentOnDayCopy[vm.todayStr].asSeconds && vm.timeSpentOnDayCopy[vm.todayStr].asSeconds() < 1) {
// // get rid of P0D
// vm.timeSpentOnDayCopy[vm.todayStr] = undefined;
//}
console.log( vm.timeSpentOnDayCopy[vm.todayStr] );
vm.deleteValue = (strDate) => {
delete vm.timeSpentOnDayCopy[strDate];