X-Git-Url: https://git.auder.net/variants/Checkered/style.css?a=blobdiff_plain;f=public%2Fjavascripts%2Fcomponents%2FproblemSummary.js;h=08109effeafb7a8941d393116c0c88a837d7925a;hb=936dc463c969f648ae0bc81074ff3272c7c99697;hp=31e9e5453998e842eeaf2e9ae4e85add656a3183;hpb=e8e4adbded06cf3ccc36cee66a786d6e97b726ef;p=vchess.git diff --git a/public/javascripts/components/problemSummary.js b/public/javascripts/components/problemSummary.js index 31e9e545..08109eff 100644 --- a/public/javascripts/components/problemSummary.js +++ b/public/javascripts/components/problemSummary.js @@ -1,6 +1,6 @@ -// Show a problem summary on variant page or new problem preview -Vue.component('my-problem-summary', { - props: ['prob','preview'], +// Preview a problem on variant page +Vue.component('my-problem-preview', { + props: ['prob','userid'], template: `
{{ timestamp2date(prob.added) }}
- +