Browse Source

Removed extra space

master
Richard Dern 1 month ago
parent
commit
ea77535d16
3 changed files with 12 additions and 6 deletions
  1. +1
    -1
      public/js/app.js
  2. +1
    -1
      public/mix-manifest.json
  3. +10
    -4
      resources/js/components/DateTime.vue

+ 1
- 1
public/js/app.js
File diff suppressed because it is too large
View File


+ 1
- 1
public/mix-manifest.json View File

@ -1,5 +1,5 @@
{
"/js/app.js": "/js/app.js?id=02729ffb80d355af553a",
"/js/app.js": "/js/app.js?id=f541ef9b0b37b4b12fec",
"/js/groups.js": "/js/groups.js?id=e78bd4449ad25bb3f750",
"/js/highlights.js": "/js/highlights.js?id=e5fcd60a5f84256d404e",
"/js/import.js": "/js/import.js?id=ea7004eb0e4198c36b7a",


+ 10
- 4
resources/js/components/DateTime.vue View File

@ -27,6 +27,7 @@ export default {
var timeClass = "";
var dateString = "";
var timeString = "";
var html = "";
if (
date.toLocaleDateString() !==
@ -48,10 +49,15 @@ export default {
minute: "2-digit",
});
return `
<span class="${dateClass}">${dateString}</span>
<span class="${timeClass}">${timeString}</span>
`;
html =
(dateString !== ""
? `<span class="${dateClass}">${dateString}</span>`
: "") +
(timeString !== ""
? `<span class="${timeClass}">${timeString}</span>`
: "");
return html;
}
},
},


Loading…
Cancel
Save