Refaktorisierungs-Optionen und Fix für Zahlen-Parsing
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
<div class="text-center sm:pt-6">
|
||||
<button type="button"
|
||||
@click="navigate(
|
||||
$el.dataset.swapUrl, prettyNumber(convert(prepareValue(inputValue))))"
|
||||
$el.dataset.swapUrl, prettyNumber(convert(parseNumber(inputValue))))"
|
||||
data-swap-url="/{{ .Params.to }}-in-{{ .Params.from }}/"
|
||||
class="inline-flex items-center text-sm
|
||||
font-medium text-primary
|
||||
@@ -145,7 +145,7 @@
|
||||
</label>
|
||||
<input type="text" id="result"
|
||||
disabled
|
||||
:value="prettyNumber(convert(prepareValue(inputValue)))"
|
||||
:value="prettyNumber(convert(parseNumber(inputValue)))"
|
||||
class="textinput mt-1 block w-full">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user